Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.0008159/0.0008159, 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.0007529/0.0007529, 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.8735/0.8735, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.5508/0.5508, allocations: 114 MB / 373.9 MB, free: 8.715 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.ACLineMatrix_RL_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.414e-06/2.414e-06, allocations: 0 / 0.5542 GB, free: 1.688 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.709e-05/3.95e-05, allocations: 2.281 kB / 0.5542 GB, free: 1.684 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.01595/0.01599, allocations: 21.81 MB / 0.5755 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.007021/0.02302, allocations: 6.394 MB / 0.5818 GB, free: 5.391 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008076/0.02382, allocations: 127.1 kB / 0.5819 GB, free: 5.266 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001949/0.02577, allocations: 1.519 MB / 0.5834 GB, free: 3.738 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.002168/0.02794, allocations: 1.99 MB / 0.5853 GB, free: 1.738 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002054/0.02999, allocations: 1.479 MB / 0.5867 GB, free: 268 kB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.004399/0.03439, allocations: 7.024 MB / 0.5936 GB, free: 9.215 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005334/0.03973, allocations: 3.735 MB / 0.5973 GB, free: 5.395 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006243/0.04597, allocations: 4.019 MB / 0.6012 GB, free: 1.367 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004726/0.0507, allocations: 3.398 MB / 0.6045 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.00101/0.05171, allocations: 0.5273 MB / 0.605 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002159/0.05386, allocations: 1.123 MB / 0.6061 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.002437/0.0563, allocations: 2.662 MB / 0.6087 GB, free: 9.641 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.002606/0.05891, allocations: 1.762 MB / 0.6104 GB, free: 7.875 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.006895/0.0658, allocations: 8.684 MB / 0.6189 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 8.266e-06/0.06581, allocations: 3.984 kB / 0.6189 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.903e-06/0.06581, allocations: 0 / 0.6189 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002277/0.06604, allocations: 4 kB / 0.6189 GB, free: 15.16 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.007348/0.07339, allocations: 4.417 MB / 0.6232 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.07344, allocations: 16.56 kB / 0.6232 GB, free: 10.67 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007102/0.07415, allocations: 0.5714 MB / 0.6238 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004528/0.07868, allocations: 1.714 MB / 0.6255 GB, free: 8.371 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004706/0.08338, allocations: 2.675 MB / 0.6281 GB, free: 5.645 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001627/0.08355, allocations: 275.6 kB / 0.6284 GB, free: 5.375 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005514/0.0841, allocations: 356.3 kB / 0.6287 GB, free: 5.027 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01111/0.09521, allocations: 7.717 MB / 0.6362 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.324e-05/0.0953, allocations: 20.06 kB / 0.6362 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003593/0.09566, allocations: 164 kB / 0.6364 GB, free: 12.81 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005738/0.09623, allocations: 487.3 kB / 0.6369 GB, free: 12.33 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007837/0.1041, allocations: 5.697 MB / 0.6424 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.277/0.3811, allocations: 20.5 MB / 0.6625 GB, free: 79.54 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001886/0.383, allocations: 2.015 MB / 0.6644 GB, free: 78.79 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001962/0.3849, allocations: 2.108 MB / 0.6665 GB, free: 78.03 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000107/0.385, allocations: 15.75 kB / 0.6665 GB, free: 78.03 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.3851, allocations: 50.48 kB / 0.6665 GB, free: 77.98 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=146): time 3.587e-06/0.3851, allocations: 0 / 0.6665 GB, free: 77.98 MB / 0.5573 GB Notification: Performance of matching and sorting (n=251): time 0.1354/0.5205, allocations: 76.72 MB / 0.7415 GB, free: 17.38 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.5205, allocations: 81.34 kB / 0.7415 GB, free: 17.29 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001424/0.5219, allocations: 1.701 MB / 0.7432 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002702/0.5222, allocations: 65.7 kB / 0.7433 GB, free: 15.48 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004601/0.5227, allocations: 1.795 MB / 0.745 GB, free: 13.67 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004369/0.5231, allocations: 0.8809 MB / 0.7459 GB, free: 12.8 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005098/0.5236, allocations: 481.4 kB / 0.7463 GB, free: 12.32 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.721e-05/0.5236, allocations: 305.1 kB / 0.7466 GB, free: 12.02 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002009/0.5256, allocations: 2.73 MB / 0.7493 GB, free: 9.289 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002125/0.5278, allocations: 3.332 MB / 0.7526 GB, free: 5.707 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004737/0.5325, allocations: 6.393 MB / 0.7588 GB, free: 15.07 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/0.5325, allocations: 4 kB / 0.7588 GB, free: 15.07 MB / 0.573 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.01945/0.552, allocations: 14.41 MB / 0.7729 GB, free: 0.6133 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.381e-05/0.552, allocations: 15.94 kB / 0.7729 GB, free: 0.5977 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.097e-05/0.552, allocations: 20 kB / 0.7729 GB, free: 0.5781 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01653/0.5685, allocations: 9.196 MB / 0.7819 GB, free: 7.363 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009013/0.5694, allocations: 299.5 kB / 0.7822 GB, free: 7.07 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05161/0.6211, allocations: 51.01 MB / 0.832 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00229/0.6233, allocations: 231.7 kB / 0.8322 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001907/0.6235, allocations: 96.33 kB / 0.8323 GB, free: 3.066 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 (157): * Single equations (assignments): 151 * 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 {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002416/0.6259, allocations: 1.582 MB / 0.8338 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004463/0.6264, allocations: 258.5 kB / 0.8341 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01911/0.6455, allocations: 14.48 MB / 0.8482 GB, free: 2.684 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.129e-05/0.6455, allocations: 24 kB / 0.8483 GB, free: 2.66 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001006/0.6456, allocations: 47.59 kB / 0.8483 GB, free: 2.617 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.833e-05/0.6457, allocations: 15.52 kB / 0.8483 GB, free: 2.605 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02554/0.6712, allocations: 19.53 MB / 0.8674 GB, free: 14.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-05/0.6712, allocations: 8 kB / 0.8674 GB, free: 14.92 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004521/0.6717, allocations: 167.6 kB / 0.8676 GB, free: 14.76 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01575/0.6874, allocations: 8.973 MB / 0.8763 GB, free: 5.766 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003659/0.6878, allocations: 51.94 kB / 0.8764 GB, free: 5.715 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04963/0.7374, allocations: 50.59 MB / 0.9258 GB, free: 2.445 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.7374, allocations: 7.938 kB / 0.9258 GB, free: 2.438 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.289/1.026, allocations: 14.08 MB / 0.9395 GB, free: 245 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001443/1.028, allocations: 0.7765 MB / 0.9403 GB, free: 245 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002492/1.028, allocations: 54.8 kB / 0.9403 GB, free: 245 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/1.029, allocations: 209.8 kB / 0.9405 GB, free: 245 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009757/1.03, allocations: 252.6 kB / 0.9408 GB, free: 245 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001394/1.03, allocations: 63.47 kB / 0.9408 GB, free: 245 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001178/1.032, allocations: 1.126 MB / 0.9419 GB, free: 244.9 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.71e-07/1.032, allocations: 4.375 kB / 0.9419 GB, free: 244.9 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004555/1.036, allocations: 1.614 MB / 0.9435 GB, free: 244.9 MB / 0.7292 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 (80): * 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: 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 {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01801/1.054, allocations: 14.69 MB / 0.9579 GB, free: 241.5 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01209/1.066, allocations: 10.18 MB / 0.9678 GB, free: 237.9 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.297e-06/1.066, allocations: 0 / 0.9678 GB, free: 237.9 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.008535/1.075, allocations: 6.993 MB / 0.9746 GB, free: 234.3 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00192/1.077, allocations: 0.5729 MB / 0.9752 GB, free: 234 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05305/1.13, allocations: 50.58 MB / 1.025 GB, free: 182.5 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002/1.132, allocations: 2.681 MB / 1.027 GB, free: 179.8 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0007382/1.132, allocations: 395.9 kB / 1.028 GB, free: 179.4 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007604/1.133, allocations: 1.465 MB / 1.029 GB, free: 178 MB / 0.7292 GB Notification: Performance of SimCode: time 1.152e-06/1.133, allocations: 0 / 1.029 GB, free: 178 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1216/1.255, allocations: 129.4 MB / 1.155 GB, free: 49.37 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.196/10.45, allocations: 10.88 kB / 1.155 GB, free: 49.36 MB / 0.7292 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.098150175064802] Failed to read output from testmodel.py, exit status != 0: 10.5701726032421 10.574944608000001 10.50760946 Calling exit ...