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.001235/0.001235, allocations: 109.2 kB / 16.41 MB, free: 5.984 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.001194/0.001194, allocations: 194.6 kB / 17.34 MB, free: 5.602 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.376/1.376, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.746/0.746, allocations: 125.3 MB / 416.5 MB, free: 13.54 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0018/0.0018, allocations: 71.09 kB / 0.5716 GB, free: 27.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1229, allocations: 78.57 MB / 0.6484 GB, free: 5.621 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01339/0.1363, allocations: 10.88 MB / 0.659 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01268/0.149, allocations: 8.799 MB / 0.6676 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007902/0.1498, allocations: 59.62 kB / 0.6676 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00388/0.1537, allocations: 1.682 MB / 0.6693 GB, free: 124 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00331/0.157, allocations: 1.527 MB / 0.6708 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001416/0.1585, allocations: 0.6744 MB / 0.6714 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002318/0.1608, allocations: 2.285 MB / 0.6737 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001657/0.1624, allocations: 1.38 MB / 0.675 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001337/0.1638, allocations: 0.9847 MB / 0.676 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001389/0.1652, allocations: 1.023 MB / 0.677 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002091/0.1654, allocations: 136 kB / 0.6771 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001401/0.1668, allocations: 0.7916 MB / 0.6779 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005464/0.1674, allocations: 0.5764 MB / 0.6784 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0008626/0.1683, allocations: 0.89 MB / 0.6793 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002761/0.171, allocations: 2.572 MB / 0.6818 GB, free: 3.211 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.171, allocations: 0 / 0.6818 GB, free: 3.211 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.232e-06/0.171, allocations: 3.938 kB / 0.6818 GB, free: 3.207 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.903e-05/0.1711, allocations: 0 / 0.6818 GB, free: 3.207 MB / 0.5137 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.003102/0.1742, allocations: 2.078 MB / 0.6838 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.1742, allocations: 8.031 kB / 0.6839 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002173/0.1744, allocations: 182.1 kB / 0.684 GB, free: 0.875 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01122/0.1857, allocations: 2.071 MB / 0.686 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002381/0.1881, allocations: 1.217 MB / 0.6872 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.797e-05/0.1882, allocations: 86.69 kB / 0.6873 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002175/0.1884, allocations: 123.9 kB / 0.6874 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005412/0.1938, allocations: 2.474 MB / 0.6899 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.906e-05/0.1939, allocations: 11.89 kB / 0.6899 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001449/0.194, allocations: 55.98 kB / 0.6899 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003307/0.1944, allocations: 130.1 kB / 0.69 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007164/0.2015, allocations: 2.533 MB / 0.6925 GB, free: 7.957 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01269/0.2142, allocations: 10.04 MB / 0.7023 GB, free: 13.26 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006284/0.2205, allocations: 1.96 MB / 0.7042 GB, free: 11.27 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002772/0.2233, allocations: 0.9766 MB / 0.7052 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.677e-05/0.2234, allocations: 12.42 kB / 0.7052 GB, free: 10.28 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.2234, allocations: 39 kB / 0.7052 GB, free: 10.23 MB / 0.545 GB Notification: Performance of pre-optimization done (n=53): time 3.707e-06/0.2234, allocations: 4 kB / 0.7052 GB, free: 10.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=81): time 0.03084/0.2543, allocations: 8.744 MB / 0.7138 GB, free: 1.426 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.049e-05/0.2544, allocations: 64 kB / 0.7138 GB, free: 1.352 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001462/0.2559, allocations: 1.101 MB / 0.7149 GB, free: 240 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001028/0.256, allocations: 41.7 kB / 0.715 GB, free: 192 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005892/0.2566, allocations: 0.7512 MB / 0.7157 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002804/0.2569, allocations: 289.5 kB / 0.716 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000395/0.2573, allocations: 202.5 kB / 0.7162 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.2574, allocations: 345.9 kB / 0.7165 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003005/0.2604, allocations: 1.071 MB / 0.7175 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003169/0.2636, allocations: 1.313 MB / 0.7188 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006126/0.2698, allocations: 2.382 MB / 0.7211 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.2698, allocations: 0 / 0.7211 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008757/0.2785, allocations: 3.285 MB / 0.7243 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.2786, allocations: 9.875 kB / 0.7244 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.2786, allocations: 4 kB / 0.7244 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002669/0.2813, allocations: 0.7877 MB / 0.7251 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001838/0.2831, allocations: 427.2 kB / 0.7255 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01623/0.2994, allocations: 15.91 MB / 0.7411 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00207/0.3014, allocations: 291.6 kB / 0.7414 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/0.3016, allocations: 55.91 kB / 0.7414 GB, free: 3.699 MB / 0.5762 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.0006501/0.3022, allocations: 402.4 kB / 0.7418 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000237/0.3025, allocations: 151.2 kB / 0.7419 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2618/0.5643, allocations: 3.203 MB / 0.7451 GB, free: 88.62 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.535e-05/0.5643, allocations: 8.188 kB / 0.7451 GB, free: 88.62 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.619e-05/0.5644, allocations: 8.078 kB / 0.7451 GB, free: 88.62 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-05/0.5644, allocations: 4.25 kB / 0.7451 GB, free: 88.62 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01089/0.5753, allocations: 4.9 MB / 0.7499 GB, free: 87.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.5753, allocations: 3.094 kB / 0.7499 GB, free: 87.97 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001672/0.577, allocations: 351.1 kB / 0.7502 GB, free: 87.96 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002238/0.5793, allocations: 0.6974 MB / 0.7509 GB, free: 87.77 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-05/0.5794, allocations: 39.42 kB / 0.7509 GB, free: 87.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01171/0.5911, allocations: 15.53 MB / 0.7661 GB, free: 74.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.5911, allocations: 9.188 kB / 0.7661 GB, free: 74.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007792/0.5989, allocations: 3.044 MB / 0.7691 GB, free: 73.82 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006749/0.5996, allocations: 391.7 kB / 0.7695 GB, free: 73.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001881/0.5998, allocations: 18.66 kB / 0.7695 GB, free: 73.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001738/0.6015, allocations: 291.7 kB / 0.7697 GB, free: 73.62 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002768/0.6018, allocations: 84.05 kB / 0.7698 GB, free: 73.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.112e-05/0.6019, allocations: 41.67 kB / 0.7699 GB, free: 73.59 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008497/0.6028, allocations: 0.7374 MB / 0.7706 GB, free: 73.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6028, allocations: 0 / 0.7706 GB, free: 73.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001305/0.6041, allocations: 434.3 kB / 0.771 GB, free: 73.26 MB / 0.5762 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.007381/0.6115, allocations: 3.626 MB / 0.7745 GB, free: 71.68 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007309/0.6188, allocations: 3.631 MB / 0.7781 GB, free: 69.94 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.6188, allocations: 1.031 kB / 0.7781 GB, free: 69.94 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004218/0.6231, allocations: 2.376 MB / 0.7804 GB, free: 68.25 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001906/0.625, allocations: 0.5241 MB / 0.7809 GB, free: 68.01 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02628/0.6513, allocations: 15.87 MB / 0.7964 GB, free: 56.32 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006393/0.6519, allocations: 1.388 MB / 0.7978 GB, free: 54.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001153/0.6531, allocations: 374.7 kB / 0.7981 GB, free: 54.55 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006104/0.6537, allocations: 0.6008 MB / 0.7987 GB, free: 53.95 MB / 0.5762 GB Notification: Performance of SimCode: time 4.51e-07/0.6537, allocations: 0 / 0.7987 GB, free: 53.95 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6802/1.334, allocations: 41.5 MB / 0.8392 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.64/15.97, allocations: 11.33 kB / 0.8393 GB, free: 13.02 MB / 0.5762 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)