Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 105.5 kB / 15.98 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 197.5 kB / 16.91 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.257/1.257, allocations: 222.9 MB / 240.6 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.643/0.643, allocations: 115.3 MB / 406.1 MB, free: 2.719 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 56.14 kB / 493.2 MB, free: 6.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1158, allocations: 76.2 MB / 0.5561 GB, free: 10.58 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.007335/0.1231, allocations: 6.728 MB / 0.5626 GB, free: 3.82 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004099/0.1272, allocations: 3.009 MB / 0.5656 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000406/0.1277, allocations: 27.81 kB / 0.5656 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002112/0.1298, allocations: 0.8905 MB / 0.5665 GB, free: 15.88 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009712/0.1308, allocations: 473.7 kB / 0.5669 GB, free: 15.42 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008285/0.1316, allocations: 382.4 kB / 0.5673 GB, free: 15.05 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001146/0.1328, allocations: 1.232 MB / 0.5685 GB, free: 13.81 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000879/0.1337, allocations: 0.7366 MB / 0.5692 GB, free: 13.07 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005585/0.1342, allocations: 478.2 kB / 0.5697 GB, free: 12.61 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005948/0.1348, allocations: 0.5332 MB / 0.5702 GB, free: 12.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001113/0.135, allocations: 68 kB / 0.5702 GB, free: 12 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005521/0.1355, allocations: 379.2 kB / 0.5706 GB, free: 11.63 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002548/0.1358, allocations: 307.2 kB / 0.5709 GB, free: 11.33 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003956/0.1362, allocations: 453.8 kB / 0.5713 GB, free: 10.89 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001074/0.1373, allocations: 1.219 MB / 0.5725 GB, free: 9.664 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.1373, allocations: 4 kB / 0.5725 GB, free: 9.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1373, allocations: 0 / 0.5725 GB, free: 9.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.219e-05/0.1373, allocations: 0 / 0.5725 GB, free: 9.66 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001736/0.1391, allocations: 1.165 MB / 0.5737 GB, free: 8.441 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.1391, allocations: 15.97 kB / 0.5737 GB, free: 8.426 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001277/0.1392, allocations: 122.7 kB / 0.5738 GB, free: 8.297 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001468/0.1407, allocations: 239.6 kB / 0.574 GB, free: 8.062 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000711/0.1414, allocations: 0.5413 MB / 0.5745 GB, free: 7.484 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.427e-05/0.1415, allocations: 53.67 kB / 0.5746 GB, free: 7.434 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.094e-05/0.1416, allocations: 56.38 kB / 0.5747 GB, free: 7.379 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/0.1429, allocations: 1.089 MB / 0.5757 GB, free: 6.176 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.242e-05/0.1429, allocations: 3.938 kB / 0.5757 GB, free: 6.172 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.94e-05/0.143, allocations: 32 kB / 0.5757 GB, free: 6.141 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001382/0.1431, allocations: 89.25 kB / 0.5758 GB, free: 6.051 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.1442, allocations: 0.7465 MB / 0.5766 GB, free: 5.305 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1919/0.3361, allocations: 5.886 MB / 0.5823 GB, free: 29.11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000949/0.337, allocations: 0.556 MB / 0.5829 GB, free: 29.08 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004023/0.3375, allocations: 325.5 kB / 0.5832 GB, free: 29.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.038e-05/0.3375, allocations: 10.41 kB / 0.5832 GB, free: 29.07 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.3375, allocations: 38.78 kB / 0.5832 GB, free: 29.03 MB / 446.1 MB Notification: Performance of pre-optimization done (n=47): time 2.475e-06/0.3375, allocations: 0.9062 kB / 0.5832 GB, free: 29.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=48): time 0.00348/0.341, allocations: 1.983 MB / 0.5852 GB, free: 28.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.302e-05/0.3411, allocations: 56.16 kB / 0.5852 GB, free: 28.28 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005729/0.3416, allocations: 0.5521 MB / 0.5857 GB, free: 28.03 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.194e-05/0.3417, allocations: 36.11 kB / 0.5858 GB, free: 27.99 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001855/0.3419, allocations: 425.5 kB / 0.5862 GB, free: 27.67 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.675e-05/0.342, allocations: 167.4 kB / 0.5863 GB, free: 27.55 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001762/0.3422, allocations: 132.6 kB / 0.5865 GB, free: 27.47 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.677e-05/0.3422, allocations: 374.2 kB / 0.5868 GB, free: 27.13 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003856/0.3426, allocations: 271.7 kB / 0.5871 GB, free: 27.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004549/0.3431, allocations: 499.4 kB / 0.5876 GB, free: 26.69 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008556/0.344, allocations: 0.8143 MB / 0.5884 GB, free: 26.19 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.344, allocations: 2.125 kB / 0.5884 GB, free: 26.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001666/0.3456, allocations: 1.088 MB / 0.5894 GB, free: 25.74 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.3457, allocations: 8.547 kB / 0.5894 GB, free: 25.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.3457, allocations: 7.75 kB / 0.5894 GB, free: 25.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007849/0.3465, allocations: 280.8 kB / 0.5897 GB, free: 25.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004541/0.3469, allocations: 126.1 kB / 0.5898 GB, free: 25.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004948/0.3519, allocations: 7.143 MB / 0.5968 GB, free: 19.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005516/0.3525, allocations: 37.06 kB / 0.5968 GB, free: 19.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.963e-05/0.3525, allocations: 31.94 kB / 0.5969 GB, free: 19.41 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003114/0.3528, allocations: 255.2 kB / 0.5971 GB, free: 19.22 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.353, allocations: 71.97 kB / 0.5972 GB, free: 19.19 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001476/0.3544, allocations: 0.8843 MB / 0.598 GB, free: 18.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.3545, allocations: 8.844 kB / 0.598 GB, free: 18.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.3545, allocations: 3.75 kB / 0.5981 GB, free: 18.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.3545, allocations: 2.391 kB / 0.5981 GB, free: 18.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002417/0.3569, allocations: 1.728 MB / 0.5997 GB, free: 17.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.3569, allocations: 2.719 kB / 0.5997 GB, free: 17.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002515/0.3572, allocations: 59.45 kB / 0.5998 GB, free: 17.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000715/0.3579, allocations: 269.9 kB / 0.6001 GB, free: 17.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.327e-05/0.3579, allocations: 11.78 kB / 0.6001 GB, free: 17.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004914/0.3629, allocations: 7.123 MB / 0.607 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.3629, allocations: 2.375 kB / 0.607 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001348/0.3642, allocations: 0.9896 MB / 0.608 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002259/0.3645, allocations: 185.6 kB / 0.6082 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.954e-05/0.3646, allocations: 13.55 kB / 0.6082 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003622/0.3649, allocations: 25.58 kB / 0.6082 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.365, allocations: 49.72 kB / 0.6083 GB, free: 10.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.263e-05/0.3651, allocations: 25.88 kB / 0.6083 GB, free: 10.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003803/0.3655, allocations: 380.6 kB / 0.6086 GB, free: 10.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3655, allocations: 0 / 0.6086 GB, free: 10.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007921/0.3663, allocations: 224.9 kB / 0.6089 GB, free: 10.72 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001443/0.3677, allocations: 1.544 MB / 0.6104 GB, free: 9.664 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001817/0.3695, allocations: 1.334 MB / 0.6117 GB, free: 8.922 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3696, allocations: 4.125 kB / 0.6117 GB, free: 8.918 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001026/0.3706, allocations: 0.8901 MB / 0.6125 GB, free: 8.312 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000913/0.3715, allocations: 217.3 kB / 0.6128 GB, free: 8.234 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007408/0.3789, allocations: 6.794 MB / 0.6194 GB, free: 4.074 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000386/0.3793, allocations: 1.013 MB / 0.6204 GB, free: 3.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004324/0.3798, allocations: 119.4 kB / 0.6205 GB, free: 3.316 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002272/0.38, allocations: 256.6 kB / 0.6207 GB, free: 3.121 MB / 446.1 MB Notification: Performance of SimCode: time 5.41e-07/0.38, allocations: 1.375 kB / 0.6207 GB, free: 3.121 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.58/2.96, allocations: 17.08 MB / 0.6374 GB, free: 6.391 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002954/2.96, allocations: 235.2 kB / 0.6376 GB, free: 6.129 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.504/5.464, allocations: 0 / 0.6376 GB, free: 6.129 MB / 462.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)