Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008216/0.0008216, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008523/0.0008523, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8914/0.8914, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5413/0.5413, allocations: 114 MB / 373.9 MB, free: 8.695 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 0.5542 GB, free: 2.762 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.423e-05/2.644e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.758 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.02516/0.02519, allocations: 31.06 MB / 0.5845 GB, free: 3.59 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.01459/0.03978, allocations: 14.31 MB / 0.5985 GB, free: 5.246 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002197/0.04197, allocations: 210.4 kB / 0.5987 GB, free: 5.039 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.004376/0.04635, allocations: 3.68 MB / 0.6023 GB, free: 1.348 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.00548/0.05183, allocations: 3.078 MB / 0.6053 GB, free: 14.25 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003798/0.05563, allocations: 2.356 MB / 0.6076 GB, free: 11.89 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.007435/0.06306, allocations: 9.008 MB / 0.6164 GB, free: 2.852 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005541/0.0686, allocations: 5.503 MB / 0.6218 GB, free: 13.23 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005439/0.07404, allocations: 5.684 MB / 0.6273 GB, free: 7.531 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002876/0.07692, allocations: 3.67 MB / 0.6309 GB, free: 3.852 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0005001/0.07742, allocations: 0.7109 MB / 0.6316 GB, free: 3.141 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001814/0.07923, allocations: 1.63 MB / 0.6332 GB, free: 1.508 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.001482/0.08071, allocations: 3.016 MB / 0.6362 GB, free: 14.48 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001595/0.08231, allocations: 2.362 MB / 0.6385 GB, free: 12.12 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.006343/0.08865, allocations: 11.37 MB / 0.6496 GB, free: 0.7109 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.299e-06/0.08866, allocations: 0 / 0.6496 GB, free: 0.7109 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.234e-06/0.08866, allocations: 0 / 0.6496 GB, free: 0.7109 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.7e-05/0.08875, allocations: 0 / 0.6496 GB, free: 0.7109 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.006245/0.09499, allocations: 5.986 MB / 0.6554 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/0.09504, allocations: 12.03 kB / 0.6554 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006396/0.09568, allocations: 0.7232 MB / 0.6561 GB, free: 9.914 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003204/0.09889, allocations: 1.18 MB / 0.6573 GB, free: 8.73 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003768/0.1027, allocations: 3.449 MB / 0.6607 GB, free: 5.195 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001549/0.1028, allocations: 374.4 kB / 0.661 GB, free: 4.828 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004692/0.1033, allocations: 0.4924 MB / 0.6615 GB, free: 4.336 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00776/0.111, allocations: 8.701 MB / 0.67 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.627e-05/0.1111, allocations: 23.83 kB / 0.67 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003288/0.1114, allocations: 216 kB / 0.6702 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005217/0.112, allocations: 437.5 kB / 0.6706 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00643/0.1184, allocations: 6.073 MB / 0.6766 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2598/0.3782, allocations: 22.01 MB / 0.6981 GB, free: 138.1 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00147/0.3797, allocations: 1.913 MB / 0.6999 GB, free: 137.4 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001348/0.381, allocations: 1.753 MB / 0.7016 GB, free: 136.7 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.393e-05/0.3811, allocations: 19.16 kB / 0.7017 GB, free: 136.7 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.3811, allocations: 57.66 kB / 0.7017 GB, free: 136.6 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=171): time 4.218e-06/0.3811, allocations: 3.25 kB / 0.7017 GB, free: 136.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=276): time 0.07438/0.4555, allocations: 38.7 MB / 0.7395 GB, free: 127.7 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.4556, allocations: 87.73 kB / 0.7396 GB, free: 127.6 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001987/0.4575, allocations: 2.319 MB / 0.7419 GB, free: 126.4 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001234/0.4577, allocations: 73.08 kB / 0.7419 GB, free: 126.4 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008408/0.4585, allocations: 2.333 MB / 0.7442 GB, free: 124.6 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000479/0.459, allocations: 0.9613 MB / 0.7451 GB, free: 123.9 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005409/0.4595, allocations: 0.5032 MB / 0.7456 GB, free: 123.6 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.658e-05/0.4596, allocations: 311.4 kB / 0.7459 GB, free: 123.3 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001631/0.4612, allocations: 1.973 MB / 0.7479 GB, free: 121.9 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001765/0.463, allocations: 2.595 MB / 0.7504 GB, free: 119.1 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00346/0.4664, allocations: 4.937 MB / 0.7552 GB, free: 113.9 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.277e-06/0.4664, allocations: 8 kB / 0.7552 GB, free: 113.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.007346/0.4738, allocations: 7.655 MB / 0.7627 GB, free: 106.2 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.086e-05/0.4738, allocations: 12 kB / 0.7627 GB, free: 106.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-05/0.4738, allocations: 20 kB / 0.7627 GB, free: 106.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004475/0.4783, allocations: 3.206 MB / 0.7659 GB, free: 102.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008444/0.4792, allocations: 410.8 kB / 0.7663 GB, free: 102.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02165/0.5008, allocations: 32.72 MB / 0.7982 GB, free: 69.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00163/0.5024, allocations: 163.8 kB / 0.7984 GB, free: 68.96 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001341/0.5026, allocations: 110.7 kB / 0.7985 GB, free: 68.86 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001884/0.5045, allocations: 1.797 MB / 0.8002 GB, free: 67.05 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002438/0.5047, allocations: 353.8 kB / 0.8006 GB, free: 66.7 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006638/0.5113, allocations: 7.243 MB / 0.8076 GB, free: 59.38 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.5113, allocations: 28 kB / 0.8077 GB, free: 59.35 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.71e-05/0.5114, allocations: 28 kB / 0.8077 GB, free: 59.32 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.5114, allocations: 15.89 kB / 0.8077 GB, free: 59.31 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01134/0.5227, allocations: 12.14 MB / 0.8196 GB, free: 47.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.435e-06/0.5227, allocations: 8 kB / 0.8196 GB, free: 47.04 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004364/0.5232, allocations: 227.6 kB / 0.8198 GB, free: 46.81 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003863/0.527, allocations: 2.845 MB / 0.8226 GB, free: 43.95 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001053/0.5271, allocations: 52 kB / 0.8226 GB, free: 43.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02009/0.5472, allocations: 31.55 MB / 0.8534 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.5472, allocations: 11.94 kB / 0.8534 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006328/0.5536, allocations: 6.775 MB / 0.86 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009131/0.5545, allocations: 0.7267 MB / 0.8608 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002189/0.5547, allocations: 56 kB / 0.8608 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008364/0.5555, allocations: 171.7 kB / 0.861 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004585/0.556, allocations: 261.4 kB / 0.8612 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.696e-05/0.5561, allocations: 76 kB / 0.8613 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001186/0.5573, allocations: 1.525 MB / 0.8628 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.5573, allocations: 0 / 0.8628 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002437/0.5597, allocations: 1.367 MB / 0.8641 GB, free: 0.5078 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00745/0.5672, allocations: 7.412 MB / 0.8714 GB, free: 8.871 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.006941/0.5741, allocations: 6.544 MB / 0.8777 GB, free: 2.238 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.5741, allocations: 7.938 kB / 0.8778 GB, free: 2.23 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.004041/0.5781, allocations: 4.247 MB / 0.8819 GB, free: 13.91 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002568/0.5807, allocations: 1.117 MB / 0.883 GB, free: 12.85 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04264/0.6234, allocations: 39.2 MB / 0.9213 GB, free: 4.543 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002693/0.6261, allocations: 3.108 MB / 0.9243 GB, free: 1.398 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00121/0.6273, allocations: 0.5556 MB / 0.9248 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001406/0.6287, allocations: 1.98 MB / 0.9268 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of SimCode: time 1.322e-06/0.6287, allocations: 0 / 0.9268 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3315/0.9601, allocations: 118.7 MB / 1.043 GB, free: 185.7 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.916/10.88, allocations: 4 kB / 1.043 GB, free: 185.7 MB / 0.7292 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.558513498865068] Failed to read output from testmodel.py, exit status != 0: 11.002862491644919 11.008773433 10.918753789 Calling exit ...