Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.001926/0.001926, allocations: 114.9 kB / 17.13 MB, free: 5.754 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.002123/0.002123, allocations: 191.7 kB / 20.08 MB, free: 2.848 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.432/1.432, allocations: 225.6 MB / 248.5 MB, free: 3.637 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.872/0.872, allocations: 129.2 MB / 432.5 MB, free: 13.14 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 67.84 kB / 0.5987 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4489/0.4509, allocations: 83.43 MB / 0.6802 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02478/0.4756, allocations: 20.58 MB / 0.7003 GB, free: 6.25 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.01373/0.4894, allocations: 6.521 MB / 0.7066 GB, free: 1.074 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002985/0.4924, allocations: 87.81 kB / 0.7067 GB, free: 1.047 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 0.007216/0.4996, allocations: 2.279 MB / 0.709 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005289/0.5049, allocations: 1.236 MB / 0.7102 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004555/0.5094, allocations: 1.28 MB / 0.7114 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.009605/0.519, allocations: 4.851 MB / 0.7162 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00886/0.5279, allocations: 4.244 MB / 0.7203 GB, free: 4.785 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004064/0.5319, allocations: 2.119 MB / 0.7224 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004655/0.5366, allocations: 2.469 MB / 0.7248 GB, free: 184 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001458/0.5381, allocations: 428 kB / 0.7252 GB, free: 15.76 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003167/0.5412, allocations: 1.022 MB / 0.7262 GB, free: 14.74 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.002669/0.5439, allocations: 1.711 MB / 0.7279 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00312/0.547, allocations: 1.91 MB / 0.7297 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.008865/0.5559, allocations: 6.54 MB / 0.7361 GB, free: 4.547 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.5559, allocations: 0 / 0.7361 GB, free: 4.547 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.934e-06/0.5559, allocations: 0 / 0.7361 GB, free: 4.547 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001902/0.5561, allocations: 0 / 0.7361 GB, free: 4.547 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.008227/0.5643, allocations: 3.533 MB / 0.7396 GB, free: 0.9453 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.5644, allocations: 11.97 kB / 0.7396 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000665/0.565, allocations: 454.6 kB / 0.74 GB, free: 488 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003357/0.5684, allocations: 0.6623 MB / 0.7406 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00485/0.5732, allocations: 2.054 MB / 0.7427 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001899/0.5734, allocations: 230.3 kB / 0.7429 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005358/0.574, allocations: 292.1 kB / 0.7432 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008526/0.5825, allocations: 4.89 MB / 0.7479 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.772e-05/0.5826, allocations: 15.89 kB / 0.7479 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002969/0.5829, allocations: 128 kB / 0.7481 GB, free: 7.957 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004659/0.5833, allocations: 233.7 kB / 0.7483 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006402/0.5897, allocations: 3.746 MB / 0.7519 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02664/0.6164, allocations: 21.44 MB / 0.7729 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001916/0.6183, allocations: 1.235 MB / 0.7741 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001575/0.6199, allocations: 0.9907 MB / 0.7751 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 5.606e-05/0.6199, allocations: 13 kB / 0.7751 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.625e-05/0.62, allocations: 47.56 kB / 0.7751 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=107): time 3.426e-06/0.62, allocations: 0 / 0.7751 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of matching and sorting (n=138): time 0.02462/0.6446, allocations: 8.657 MB / 0.7836 GB, free: 1.516 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.229e-05/0.6447, allocations: 72.64 kB / 0.7836 GB, free: 1.434 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001608/0.6463, allocations: 1.134 MB / 0.7847 GB, free: 300 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001058/0.6464, allocations: 45.7 kB / 0.7848 GB, free: 248 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001026/0.6474, allocations: 1.339 MB / 0.7861 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004458/0.6478, allocations: 0.4918 MB / 0.7866 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004691/0.6483, allocations: 291.5 kB / 0.7869 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.6485, allocations: 309.1 kB / 0.7871 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001357/0.6498, allocations: 0.9096 MB / 0.788 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001772/0.6516, allocations: 1.326 MB / 0.7893 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003366/0.6549, allocations: 2.43 MB / 0.7917 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/0.655, allocations: 4 kB / 0.7917 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006325/0.6613, allocations: 3.429 MB / 0.7951 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.476e-05/0.6613, allocations: 15.98 kB / 0.7951 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.031e-05/0.6613, allocations: 12 kB / 0.7951 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00328/0.6646, allocations: 1.179 MB / 0.7962 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009824/0.6656, allocations: 259.5 kB / 0.7965 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02012/0.6857, allocations: 13.85 MB / 0.81 GB, free: 5.605 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001446/0.6872, allocations: 91.97 kB / 0.8101 GB, free: 5.516 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003199/0.6875, allocations: 60 kB / 0.8102 GB, free: 5.457 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002251/0.6897, allocations: 1.118 MB / 0.8112 GB, free: 4.328 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004365/0.6902, allocations: 170.9 kB / 0.8114 GB, free: 4.16 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006288/0.6965, allocations: 3.13 MB / 0.8145 GB, free: 1.004 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.712e-05/0.6965, allocations: 15.94 kB / 0.8145 GB, free: 0.9883 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-05/0.6965, allocations: 12 kB / 0.8145 GB, free: 0.9766 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.608e-05/0.6965, allocations: 7.969 kB / 0.8145 GB, free: 0.9688 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01323/0.7098, allocations: 6.198 MB / 0.8206 GB, free: 10.63 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-05/0.7098, allocations: 4 kB / 0.8206 GB, free: 10.63 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006051/0.7104, allocations: 151.8 kB / 0.8207 GB, free: 10.48 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003043/0.7134, allocations: 1.075 MB / 0.8218 GB, free: 9.398 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001069/0.7135, allocations: 24 kB / 0.8218 GB, free: 9.375 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01928/0.7328, allocations: 13.55 MB / 0.835 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.245e-05/0.7328, allocations: 11.94 kB / 0.835 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006154/0.739, allocations: 3.116 MB / 0.8381 GB, free: 8.199 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001239/0.7402, allocations: 435.9 kB / 0.8385 GB, free: 7.754 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004007/0.7406, allocations: 28 kB / 0.8385 GB, free: 7.727 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/0.7417, allocations: 83.89 kB / 0.8386 GB, free: 7.645 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004146/0.7421, allocations: 124.7 kB / 0.8387 GB, free: 7.52 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/0.7422, allocations: 40 kB / 0.8387 GB, free: 7.48 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001477/0.7437, allocations: 0.767 MB / 0.8395 GB, free: 6.711 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7e-08/0.7437, allocations: 0 / 0.8395 GB, free: 6.711 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002516/0.7462, allocations: 0.6602 MB / 0.8401 GB, free: 6.051 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006257/0.7524, allocations: 3.713 MB / 0.8438 GB, free: 2.246 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00551/0.7579, allocations: 3.02 MB / 0.8467 GB, free: 15.19 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.418e-06/0.7579, allocations: 0 / 0.8467 GB, free: 15.19 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003302/0.7612, allocations: 1.881 MB / 0.8485 GB, free: 13.27 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002604/0.7639, allocations: 0.4915 MB / 0.849 GB, free: 12.79 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03719/0.801, allocations: 19.11 MB / 0.8677 GB, free: 9.09 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003934/0.805, allocations: 2.336 MB / 0.87 GB, free: 6.719 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001269/0.8062, allocations: 354.1 kB / 0.8703 GB, free: 6.367 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001505/0.8077, allocations: 1.011 MB / 0.8713 GB, free: 5.355 MB / 0.6856 GB Notification: Performance of SimCode: time 1.082e-06/0.8077, allocations: 0 / 0.8713 GB, free: 5.355 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.444/1.252, allocations: 52.63 MB / 0.9227 GB, free: 150.6 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.93/14.18, allocations: 3.094 kB / 0.9227 GB, free: 150.6 MB / 0.6856 GB " [Timeout remaining time 646] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.86426028283313] Failed to read output from testmodel.py, exit status != 0: 14.293107887264341 14.302051518 13.743842476 Calling exit ...