Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",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.001095/0.001095, allocations: 104.5 kB / 16.4 MB, free: 6.492 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.001094/0.001094, allocations: 193.2 kB / 17.34 MB, free: 5.766 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.38/1.38, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7276/0.7276, allocations: 115.3 MB / 406.5 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 66.72 kB / 0.5572 GB, free: 32.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1497, allocations: 76.18 MB / 0.6316 GB, free: 4.945 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.007749/0.1575, allocations: 6.065 MB / 0.6375 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005253/0.1628, allocations: 3.149 MB / 0.6406 GB, free: 11.69 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006494/0.1635, allocations: 27.81 kB / 0.6406 GB, free: 11.66 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002603/0.1661, allocations: 0.9357 MB / 0.6415 GB, free: 10.73 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001426/0.1676, allocations: 473.5 kB / 0.642 GB, free: 10.26 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001443/0.169, allocations: 489.4 kB / 0.6424 GB, free: 9.785 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001737/0.1708, allocations: 1.088 MB / 0.6435 GB, free: 8.691 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001118/0.1719, allocations: 0.6338 MB / 0.6441 GB, free: 8.055 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009083/0.1728, allocations: 454.3 kB / 0.6446 GB, free: 7.609 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009078/0.1737, allocations: 470.2 kB / 0.645 GB, free: 7.148 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001657/0.1739, allocations: 56 kB / 0.6451 GB, free: 7.094 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00104/0.175, allocations: 487 kB / 0.6455 GB, free: 6.617 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003897/0.1754, allocations: 283.3 kB / 0.6458 GB, free: 6.34 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005638/0.1759, allocations: 405.9 kB / 0.6462 GB, free: 5.941 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001568/0.1775, allocations: 1.173 MB / 0.6473 GB, free: 4.766 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.1775, allocations: 0 / 0.6473 GB, free: 4.766 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1775, allocations: 0 / 0.6473 GB, free: 4.766 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.924e-05/0.1776, allocations: 4 kB / 0.6473 GB, free: 4.762 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002065/0.1797, allocations: 1.052 MB / 0.6484 GB, free: 3.656 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.1797, allocations: 12.03 kB / 0.6484 GB, free: 3.645 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000174/0.1799, allocations: 118.6 kB / 0.6485 GB, free: 3.52 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001592/0.1815, allocations: 223.7 kB / 0.6487 GB, free: 3.301 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/0.1826, allocations: 0.5804 MB / 0.6493 GB, free: 2.68 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.993e-05/0.1826, allocations: 53.67 kB / 0.6493 GB, free: 2.629 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001231/0.1828, allocations: 60.36 kB / 0.6494 GB, free: 2.57 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001631/0.1844, allocations: 1.033 MB / 0.6504 GB, free: 1.422 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.715e-05/0.1845, allocations: 15.84 kB / 0.6504 GB, free: 1.406 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.176e-05/0.1845, allocations: 27.98 kB / 0.6504 GB, free: 1.379 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.399e-05/0.1846, allocations: 65.28 kB / 0.6505 GB, free: 1.316 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.1857, allocations: 0.6918 MB / 0.6512 GB, free: 0.625 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00508/0.1908, allocations: 5.733 MB / 0.6568 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008146/0.1916, allocations: 0.6013 MB / 0.6574 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007996/0.1924, allocations: 440.4 kB / 0.6578 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.316e-05/0.1925, allocations: 4 kB / 0.6578 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.1925, allocations: 35.25 kB / 0.6578 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=41): time 1.854e-06/0.1925, allocations: 0 / 0.6578 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42): time 0.004087/0.1966, allocations: 2.01 MB / 0.6598 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.1967, allocations: 59.34 kB / 0.6598 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004318/0.1971, allocations: 462.7 kB / 0.6603 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/0.1971, allocations: 29.7 kB / 0.6603 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002495/0.1974, allocations: 387.1 kB / 0.6607 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.1975, allocations: 145.9 kB / 0.6608 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001586/0.1977, allocations: 110.2 kB / 0.6609 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.1979, allocations: 366.8 kB / 0.6613 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003466/0.1982, allocations: 241.2 kB / 0.6615 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004693/0.1987, allocations: 453 kB / 0.6619 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008303/0.1995, allocations: 0.7517 MB / 0.6627 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.1995, allocations: 4 kB / 0.6627 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001659/0.2012, allocations: 1.042 MB / 0.6637 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.2012, allocations: 8 kB / 0.6637 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.2012, allocations: 7.938 kB / 0.6637 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009505/0.2022, allocations: 319.8 kB / 0.664 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003053/0.2025, allocations: 103.8 kB / 0.6641 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0065/0.209, allocations: 7.474 MB / 0.6714 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004019/0.2095, allocations: 32.02 kB / 0.6714 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.075e-05/0.2095, allocations: 28 kB / 0.6715 GB, free: 10.43 MB / 0.5137 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002946/0.2098, allocations: 237.6 kB / 0.6717 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.467e-05/0.2099, allocations: 63.28 kB / 0.6717 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001548/0.2115, allocations: 0.8805 MB / 0.6726 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.728e-06/0.2115, allocations: 8 kB / 0.6726 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.2115, allocations: 4 kB / 0.6726 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.2115, allocations: 3.984 kB / 0.6726 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002487/0.214, allocations: 1.673 MB / 0.6742 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.214, allocations: 11.98 kB / 0.6743 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/0.2142, allocations: 40.09 kB / 0.6743 GB, free: 7.395 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008657/0.2151, allocations: 311.4 kB / 0.6746 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.901e-05/0.2151, allocations: 15.88 kB / 0.6746 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006557/0.2217, allocations: 7.463 MB / 0.6819 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.2217, allocations: 7.938 kB / 0.6819 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001509/0.2232, allocations: 0.9874 MB / 0.6829 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002829/0.2235, allocations: 172.3 kB / 0.683 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.874e-05/0.2236, allocations: 8 kB / 0.683 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002683/0.2238, allocations: 27.91 kB / 0.6831 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.936e-05/0.2239, allocations: 39.89 kB / 0.6831 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.684e-05/0.224, allocations: 16 kB / 0.6831 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003245/0.2243, allocations: 310.9 kB / 0.6834 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2243, allocations: 0 / 0.6834 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007941/0.2251, allocations: 192 kB / 0.6836 GB, free: 13.23 MB / 0.5294 GB 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,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.001795/0.2269, allocations: 1.544 MB / 0.6851 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001719/0.2286, allocations: 1.199 MB / 0.6863 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.2287, allocations: 0 / 0.6863 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00109/0.2298, allocations: 0.8585 MB / 0.6871 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009517/0.2307, allocations: 209.5 kB / 0.6873 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007223/0.2379, allocations: 5.816 MB / 0.693 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005228/0.2385, allocations: 0.9843 MB / 0.694 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003006/0.2388, allocations: 97.27 kB / 0.6941 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002595/0.2391, allocations: 235.2 kB / 0.6943 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of SimCode: time 8.32e-07/0.2391, allocations: 0 / 0.6943 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04362/0.2827, allocations: 15.54 MB / 0.7094 GB, free: 2.48 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.18/10.47, allocations: 0 / 0.7094 GB, free: 2.48 MB / 0.545 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)