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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 111.5 kB / 17.12 MB, free: 5.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 196.6 kB / 20.08 MB, free: 2.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 225.6 MB / 248.5 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8424/0.8424, allocations: 129.2 MB / 432.5 MB, free: 13.38 MB / 350.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 63.89 kB / 0.5987 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4289/0.4308, allocations: 83.45 MB / 0.6802 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.01004/0.4408, allocations: 6.826 MB / 0.6868 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007341/0.4482, allocations: 3.072 MB / 0.6898 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000652/0.4488, allocations: 23.78 kB / 0.6899 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00326/0.4521, allocations: 0.9665 MB / 0.6908 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001716/0.4538, allocations: 0.5173 MB / 0.6913 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001398/0.4552, allocations: 427.3 kB / 0.6917 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001934/0.4571, allocations: 1.231 MB / 0.6929 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001071/0.4582, allocations: 0.5215 MB / 0.6934 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008623/0.4591, allocations: 481.7 kB / 0.6939 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000988/0.4601, allocations: 0.544 MB / 0.6944 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001323/0.4602, allocations: 65.94 kB / 0.6945 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009279/0.4611, allocations: 387.7 kB / 0.6949 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004273/0.4615, allocations: 319.7 kB / 0.6952 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006178/0.4622, allocations: 448.2 kB / 0.6956 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002079/0.4642, allocations: 1.222 MB / 0.6968 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4642, allocations: 0 / 0.6968 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4642, allocations: 0 / 0.6968 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.05e-05/0.4643, allocations: 0 / 0.6968 GB, free: 9.809 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002781/0.467, allocations: 1.191 MB / 0.698 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.4671, allocations: 10.75 kB / 0.698 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001984/0.4673, allocations: 116.6 kB / 0.6981 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002591/0.4699, allocations: 245.2 kB / 0.6983 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001525/0.4714, allocations: 0.6008 MB / 0.6989 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.725e-05/0.4715, allocations: 43.59 kB / 0.6989 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/0.4716, allocations: 70.52 kB / 0.699 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002245/0.4739, allocations: 1.082 MB / 0.7001 GB, free: 7.352 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.637e-05/0.4739, allocations: 6.688 kB / 0.7001 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.474, allocations: 25.62 kB / 0.7001 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002231/0.4742, allocations: 89.73 kB / 0.7002 GB, free: 7.301 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001817/0.476, allocations: 0.7525 MB / 0.7009 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008491/0.4845, allocations: 5.877 MB / 0.7066 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001656/0.4862, allocations: 0.5159 MB / 0.7072 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006322/0.4868, allocations: 286.4 kB / 0.7074 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.614e-05/0.4869, allocations: 5.438 kB / 0.7074 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.402e-05/0.4869, allocations: 37.5 kB / 0.7075 GB, free: 0.9922 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=47): time 3.887e-06/0.4869, allocations: 5.344 kB / 0.7075 GB, free: 0.9883 MB / 0.5137 GB Notification: Performance of matching and sorting (n=48): time 0.005833/0.4927, allocations: 1.989 MB / 0.7094 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.088e-05/0.4928, allocations: 55.84 kB / 0.7095 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.4938, allocations: 0.5587 MB / 0.71 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.402e-05/0.4939, allocations: 37.7 kB / 0.7101 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004419/0.4943, allocations: 428 kB / 0.7105 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000225/0.4945, allocations: 178.5 kB / 0.7106 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003017/0.4948, allocations: 126.6 kB / 0.7107 GB, free: 14 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002667/0.4951, allocations: 382.5 kB / 0.7111 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000659/0.4958, allocations: 273.8 kB / 0.7114 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009077/0.4967, allocations: 0.4892 MB / 0.7119 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001628/0.4983, allocations: 0.8055 MB / 0.7126 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.4983, allocations: 0 / 0.7126 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002886/0.5012, allocations: 1.083 MB / 0.7137 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/0.5012, allocations: 8 kB / 0.7137 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.213e-05/0.5013, allocations: 4 kB / 0.7137 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001205/0.5025, allocations: 287.2 kB / 0.714 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007197/0.5032, allocations: 123.8 kB / 0.7141 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008501/0.5117, allocations: 7.139 MB / 0.7211 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006735/0.5124, allocations: 39.97 kB / 0.7211 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.494e-05/0.5124, allocations: 28 kB / 0.7211 GB, free: 2.574 MB / 0.5294 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 (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.0004269/0.5128, allocations: 258.5 kB / 0.7214 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.513, allocations: 79.59 kB / 0.7215 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001643/0.5146, allocations: 0.8729 MB / 0.7223 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.5146, allocations: 4 kB / 0.7223 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.5146, allocations: 7.984 kB / 0.7223 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.5146, allocations: 0 / 0.7223 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002885/0.5175, allocations: 1.72 MB / 0.724 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/0.5175, allocations: 3.938 kB / 0.724 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002577/0.5178, allocations: 63.89 kB / 0.7241 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007373/0.5185, allocations: 267.3 kB / 0.7243 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.303e-05/0.5185, allocations: 12 kB / 0.7243 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007185/0.5257, allocations: 7.131 MB / 0.7313 GB, free: 7.469 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.5257, allocations: 0 / 0.7313 GB, free: 7.469 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001613/0.5273, allocations: 0.9799 MB / 0.7323 GB, free: 6.445 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003803/0.5277, allocations: 188.6 kB / 0.7324 GB, free: 6.242 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.424e-05/0.5278, allocations: 23.92 kB / 0.7325 GB, free: 6.219 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003489/0.5282, allocations: 23.97 kB / 0.7325 GB, free: 6.195 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.996e-05/0.5283, allocations: 43.89 kB / 0.7325 GB, free: 6.152 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.339e-05/0.5283, allocations: 19.98 kB / 0.7325 GB, free: 6.133 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004515/0.5288, allocations: 379.1 kB / 0.7329 GB, free: 5.77 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.5288, allocations: 4 kB / 0.7329 GB, free: 5.766 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008439/0.5296, allocations: 224 kB / 0.7331 GB, free: 5.547 MB / 0.545 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 (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.001922/0.5315, allocations: 1.533 MB / 0.7346 GB, free: 3.953 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002068/0.5336, allocations: 1.24 MB / 0.7358 GB, free: 2.66 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.5336, allocations: 0 / 0.7358 GB, free: 2.66 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001282/0.5349, allocations: 0.8542 MB / 0.7367 GB, free: 1.754 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009821/0.5359, allocations: 216.6 kB / 0.7369 GB, free: 1.547 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009005/0.5449, allocations: 6.37 MB / 0.7431 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007102/0.5456, allocations: 1.009 MB / 0.7441 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000396/0.546, allocations: 122 kB / 0.7442 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003128/0.5463, allocations: 247.4 kB / 0.7444 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of SimCode: time 1.022e-06/0.5463, allocations: 4 kB / 0.7444 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05577/0.6021, allocations: 17.48 MB / 0.7615 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.43, allocations: 26.61 kB / 0.7615 GB, free: 8.207 MB / 0.5762 GB " [Timeout remaining time 648] (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 --stepSize=0.0004 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.945825830101967] Failed to read output from testmodel.py, exit status != 0: 11.520269994158298 11.546921868 11.077563143 Calling exit ...