Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.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,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine",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.001028/0.001028, allocations: 107.9 kB / 16.4 MB, free: 6.488 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.0009933/0.0009934, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.252/1.252, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6812/0.6812, allocations: 115.3 MB / 406.5 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 65.58 kB / 0.5572 GB, free: 32.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1256, allocations: 76.18 MB / 0.6316 GB, free: 4.91 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01252/0.1381, allocations: 10.88 MB / 0.6422 GB, free: 9.98 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01241/0.1506, allocations: 8.803 MB / 0.6508 GB, free: 1.148 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001022/0.1516, allocations: 55.62 kB / 0.6509 GB, free: 1.094 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003808/0.1554, allocations: 1.679 MB / 0.6525 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003627/0.1591, allocations: 1.567 MB / 0.654 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001444/0.1605, allocations: 0.676 MB / 0.6547 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002167/0.1627, allocations: 2.286 MB / 0.6569 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001488/0.1642, allocations: 1.372 MB / 0.6583 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001207/0.1654, allocations: 1.004 MB / 0.6593 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0011/0.1665, allocations: 1.027 MB / 0.6603 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001669/0.1667, allocations: 140 kB / 0.6604 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001207/0.1679, allocations: 0.7955 MB / 0.6612 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004401/0.1684, allocations: 0.5725 MB / 0.6617 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007702/0.1692, allocations: 0.8862 MB / 0.6626 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002246/0.1714, allocations: 2.562 MB / 0.6651 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1714, allocations: 3.984 kB / 0.6651 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1714, allocations: 0 / 0.6651 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.719e-05/0.1715, allocations: 0 / 0.6651 GB, free: 2.457 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.00275/0.1742, allocations: 2.022 MB / 0.6671 GB, free: 388 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.1743, allocations: 8.031 kB / 0.6671 GB, free: 380 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001833/0.1744, allocations: 186 kB / 0.6673 GB, free: 184 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009303/0.1838, allocations: 2.058 MB / 0.6693 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001877/0.1856, allocations: 1.208 MB / 0.6704 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.495e-05/0.1857, allocations: 86.69 kB / 0.6705 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001999/0.1859, allocations: 123.9 kB / 0.6706 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004541/0.1905, allocations: 2.474 MB / 0.6731 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.056e-05/0.1905, allocations: 11.84 kB / 0.6731 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001442/0.1907, allocations: 59.98 kB / 0.6731 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003087/0.191, allocations: 126.1 kB / 0.6733 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006111/0.1971, allocations: 2.537 MB / 0.6757 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01223/0.2094, allocations: 10.04 MB / 0.6855 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005358/0.2147, allocations: 1.944 MB / 0.6874 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002528/0.2173, allocations: 0.9776 MB / 0.6884 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.238e-05/0.2174, allocations: 4.438 kB / 0.6884 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.2174, allocations: 43 kB / 0.6884 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=53): time 2.375e-06/0.2174, allocations: 0 / 0.6884 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of matching and sorting (n=81): time 0.02771/0.2451, allocations: 8.722 MB / 0.6969 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.2452, allocations: 67.94 kB / 0.697 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001446/0.2466, allocations: 1.101 MB / 0.6981 GB, free: 15.58 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.822e-05/0.2467, allocations: 41.7 kB / 0.6981 GB, free: 15.53 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004773/0.2472, allocations: 0.7341 MB / 0.6988 GB, free: 14.79 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002242/0.2475, allocations: 279.9 kB / 0.6991 GB, free: 14.52 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003652/0.2478, allocations: 202.4 kB / 0.6993 GB, free: 14.31 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002416/0.2481, allocations: 341.9 kB / 0.6996 GB, free: 13.97 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002491/0.2506, allocations: 1.075 MB / 0.7007 GB, free: 12.9 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002672/0.2533, allocations: 1.305 MB / 0.702 GB, free: 11.49 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005279/0.2585, allocations: 2.378 MB / 0.7043 GB, free: 9.02 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.2586, allocations: 4 kB / 0.7043 GB, free: 9.016 MB / 0.545 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.007953/0.2665, allocations: 3.272 MB / 0.7075 GB, free: 5.707 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.2665, allocations: 8 kB / 0.7075 GB, free: 5.699 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.2666, allocations: 8 kB / 0.7075 GB, free: 5.691 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002542/0.2691, allocations: 0.7875 MB / 0.7083 GB, free: 4.879 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001621/0.2707, allocations: 427.2 kB / 0.7087 GB, free: 4.461 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01445/0.2852, allocations: 15.91 MB / 0.7242 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001869/0.2871, allocations: 291.6 kB / 0.7245 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000305/0.2874, allocations: 47.97 kB / 0.7245 GB, free: 3.094 MB / 0.5606 GB 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,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.0006618/0.2881, allocations: 401.4 kB / 0.7249 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002761/0.2884, allocations: 146.5 kB / 0.7251 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007793/0.2962, allocations: 3.202 MB / 0.7282 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.2962, allocations: 11.94 kB / 0.7282 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.304e-05/0.2962, allocations: 11.94 kB / 0.7282 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.567e-06/0.2962, allocations: 3.984 kB / 0.7282 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009855/0.3061, allocations: 4.913 MB / 0.733 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.481e-06/0.3061, allocations: 0 / 0.733 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001412/0.3075, allocations: 355.7 kB / 0.7333 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002167/0.3097, allocations: 0.6974 MB / 0.734 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-05/0.3098, allocations: 27.97 kB / 0.734 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01472/0.3246, allocations: 15.53 MB / 0.7492 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.3246, allocations: 4 kB / 0.7492 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007283/0.3319, allocations: 3.047 MB / 0.7522 GB, free: 5.352 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006482/0.3325, allocations: 379.2 kB / 0.7526 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002085/0.3328, allocations: 16 kB / 0.7526 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001655/0.3344, allocations: 303.4 kB / 0.7529 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002066/0.3346, allocations: 76.64 kB / 0.7529 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.556e-05/0.3347, allocations: 47.94 kB / 0.753 GB, free: 4.527 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009183/0.3357, allocations: 0.7327 MB / 0.7537 GB, free: 3.793 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3357, allocations: 4 kB / 0.7537 GB, free: 3.789 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001429/0.3371, allocations: 432 kB / 0.7541 GB, free: 3.367 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.2497/0.5868, allocations: 3.609 MB / 0.7576 GB, free: 116 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.007814/0.5947, allocations: 3.621 MB / 0.7612 GB, free: 115 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.283e-06/0.5947, allocations: 1.5 kB / 0.7612 GB, free: 115 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004471/0.5992, allocations: 2.369 MB / 0.7635 GB, free: 114.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002261/0.6015, allocations: 0.5211 MB / 0.764 GB, free: 114.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02844/0.6299, allocations: 15.8 MB / 0.7794 GB, free: 108.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007997/0.6308, allocations: 1.388 MB / 0.7808 GB, free: 107.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001272/0.6321, allocations: 374.2 kB / 0.7811 GB, free: 107.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005983/0.6327, allocations: 0.5955 MB / 0.7817 GB, free: 107.2 MB / 0.5919 GB Notification: Performance of SimCode: time 6.31e-07/0.6327, allocations: 0 / 0.7817 GB, free: 107.2 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07314/0.7058, allocations: 41.53 MB / 0.8223 GB, free: 70.77 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.89/13.6, allocations: 0.5938 kB / 0.8223 GB, free: 70.77 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)