Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.0008195/0.0008195, allocations: 76.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.0008463/0.0008463, allocations: 170.3 kB / 23.21 MB, free: 1.355 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.8582/0.8582, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.5445/0.5445, allocations: 114 MB / 373.9 MB, free: 8.719 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_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.5542 GB, free: 2.762 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.216e-05/2.376e-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_R): time 0.02397/0.024, allocations: 32.96 MB / 0.5864 GB, free: 1.695 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.01086/0.03486, allocations: 9.881 MB / 0.596 GB, free: 7.789 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001427/0.03629, allocations: 190.6 kB / 0.5962 GB, free: 7.602 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.00395/0.04024, allocations: 3.842 MB / 0.6 GB, free: 3.75 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.002701/0.04294, allocations: 2.206 MB / 0.6021 GB, free: 1.531 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002372/0.04531, allocations: 1.981 MB / 0.6041 GB, free: 15.55 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.004938/0.05025, allocations: 8.141 MB / 0.612 GB, free: 7.383 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004277/0.05453, allocations: 5.245 MB / 0.6171 GB, free: 2.016 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003876/0.0584, allocations: 4.892 MB / 0.6219 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002729/0.06113, allocations: 3.46 MB / 0.6253 GB, free: 9.645 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0005944/0.06173, allocations: 0.6797 MB / 0.626 GB, free: 8.965 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001526/0.06325, allocations: 1.373 MB / 0.6273 GB, free: 7.59 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.00162/0.06487, allocations: 2.802 MB / 0.63 GB, free: 4.781 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.001456/0.06633, allocations: 2.168 MB / 0.6322 GB, free: 2.609 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.006171/0.0725, allocations: 10.58 MB / 0.6425 GB, free: 8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.0725, allocations: 0 / 0.6425 GB, free: 8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.863e-06/0.0725, allocations: 0 / 0.6425 GB, free: 8 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.491e-05/0.07259, allocations: 4 kB / 0.6425 GB, free: 7.996 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.005527/0.07812, allocations: 5.407 MB / 0.6478 GB, free: 2.527 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.07816, allocations: 8.625 kB / 0.6478 GB, free: 2.52 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005985/0.07876, allocations: 0.7062 MB / 0.6485 GB, free: 1.805 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002488/0.08125, allocations: 0.9929 MB / 0.6494 GB, free: 0.8086 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00317/0.08442, allocations: 3.131 MB / 0.6525 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001509/0.08457, allocations: 353.9 kB / 0.6528 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004227/0.08499, allocations: 476.3 kB / 0.6533 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0076/0.09259, allocations: 8.663 MB / 0.6617 GB, free: 3.586 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.854e-05/0.09266, allocations: 24 kB / 0.6618 GB, free: 3.562 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003122/0.09297, allocations: 208.1 kB / 0.662 GB, free: 3.359 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002927/0.09326, allocations: 369.1 kB / 0.6623 GB, free: 2.996 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00595/0.09921, allocations: 5.926 MB / 0.6681 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2557/0.3549, allocations: 23.71 MB / 0.6913 GB, free: 136.2 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002049/0.3569, allocations: 1.985 MB / 0.6932 GB, free: 136.2 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00109/0.358, allocations: 1.329 MB / 0.6945 GB, free: 136.2 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.606e-05/0.3581, allocations: 15.84 kB / 0.6945 GB, free: 136.2 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.3581, allocations: 54.66 kB / 0.6946 GB, free: 136.1 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=157): time 3.917e-06/0.3581, allocations: 0 / 0.6946 GB, free: 136.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=160): time 0.007297/0.3654, allocations: 6.677 MB / 0.7011 GB, free: 134.2 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.3655, allocations: 69.31 kB / 0.7012 GB, free: 134.2 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001349/0.3668, allocations: 1.906 MB / 0.703 GB, free: 133.4 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.345e-05/0.3669, allocations: 54.55 kB / 0.7031 GB, free: 133.4 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006393/0.3675, allocations: 2.184 MB / 0.7052 GB, free: 132 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002248/0.3677, allocations: 0.5766 MB / 0.7058 GB, free: 131.6 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003191/0.3681, allocations: 400.7 kB / 0.7061 GB, free: 131.4 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.858e-05/0.3681, allocations: 304.4 kB / 0.7064 GB, free: 131.1 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008801/0.369, allocations: 1.061 MB / 0.7075 GB, free: 130.7 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001092/0.3701, allocations: 1.765 MB / 0.7092 GB, free: 129.5 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002023/0.3721, allocations: 3.053 MB / 0.7122 GB, free: 127.6 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.695e-06/0.3721, allocations: 5.25 kB / 0.7122 GB, free: 127.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.003255/0.3753, allocations: 3.902 MB / 0.716 GB, free: 125.9 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/0.3754, allocations: 23.5 kB / 0.716 GB, free: 125.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.3754, allocations: 21.53 kB / 0.716 GB, free: 125.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001213/0.3766, allocations: 0.9323 MB / 0.7169 GB, free: 125.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009667/0.3776, allocations: 426.2 kB / 0.7174 GB, free: 125.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01161/0.3892, allocations: 21.36 MB / 0.7382 GB, free: 107.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001512/0.3907, allocations: 125.7 kB / 0.7383 GB, free: 107.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001356/0.3908, allocations: 92.84 kB / 0.7384 GB, free: 107.7 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.00236/0.3932, allocations: 1.652 MB / 0.74 GB, free: 107 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002428/0.3934, allocations: 265 kB / 0.7403 GB, free: 106.8 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003464/0.3969, allocations: 3.236 MB / 0.7434 GB, free: 105.4 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/0.3969, allocations: 16.16 kB / 0.7435 GB, free: 105.4 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.535e-05/0.3969, allocations: 10 kB / 0.7435 GB, free: 105.4 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.3969, allocations: 14.08 kB / 0.7435 GB, free: 105.4 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007971/0.4049, allocations: 7.159 MB / 0.7505 GB, free: 102.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.4049, allocations: 5.672 kB / 0.7505 GB, free: 102.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005158/0.4054, allocations: 221.3 kB / 0.7507 GB, free: 102.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001348/0.4068, allocations: 0.8944 MB / 0.7516 GB, free: 102.1 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-05/0.4068, allocations: 32.67 kB / 0.7516 GB, free: 102.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009689/0.4165, allocations: 21.32 MB / 0.7724 GB, free: 84.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.4165, allocations: 12.83 kB / 0.7724 GB, free: 84.26 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003336/0.4199, allocations: 3.35 MB / 0.7757 GB, free: 82.67 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006/0.4205, allocations: 489 kB / 0.7762 GB, free: 82.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000149/0.4206, allocations: 35.16 kB / 0.7762 GB, free: 82.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005377/0.4212, allocations: 93.86 kB / 0.7763 GB, free: 82.36 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002666/0.4214, allocations: 149.8 kB / 0.7764 GB, free: 82.33 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.977e-05/0.4215, allocations: 46 kB / 0.7765 GB, free: 82.32 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001029/0.4225, allocations: 1.219 MB / 0.7777 GB, free: 81.84 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.4225, allocations: 1.5 kB / 0.7777 GB, free: 81.84 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001909/0.4244, allocations: 0.9086 MB / 0.7786 GB, free: 81.77 MB / 0.6355 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,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.003002/0.4274, allocations: 3.953 MB / 0.7824 GB, free: 79.62 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003436/0.4309, allocations: 4.283 MB / 0.7866 GB, free: 77.19 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.4309, allocations: 2.438 kB / 0.7866 GB, free: 77.19 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001866/0.4327, allocations: 2.903 MB / 0.7894 GB, free: 74.52 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001727/0.4345, allocations: 0.8396 MB / 0.7903 GB, free: 73.84 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02044/0.4549, allocations: 25.26 MB / 0.8149 GB, free: 47.59 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001739/0.4566, allocations: 2.669 MB / 0.8175 GB, free: 44.89 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0009315/0.4576, allocations: 0.5293 MB / 0.8181 GB, free: 44.35 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009192/0.4585, allocations: 1.656 MB / 0.8197 GB, free: 42.7 MB / 0.6355 GB Notification: Performance of SimCode: time 1.483e-06/0.4585, allocations: 0 / 0.8197 GB, free: 42.7 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09136/0.5498, allocations: 74.89 MB / 0.8928 GB, free: 0.9844 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.862/9.412, allocations: 23.78 kB / 0.8928 GB, free: 0.9609 MB / 0.6667 GB " [Timeout remaining time 650] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.96170574426651] Failed to read output from testmodel.py, exit status != 0: 9.524641815572977 9.531939677 9.457741848 Calling exit ...