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.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.0008674/0.0008674, allocations: 76.55 kB / 19.92 MB, free: 4.637 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.00103/0.00103, allocations: 173.9 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.8883/0.8883, allocations: 177.1 MB / 203.5 MB, free: 5.727 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.5494/0.5494, allocations: 114 MB / 373.9 MB, free: 8.688 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_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 2.235e-06/2.235e-06, allocations: 0 / 0.5542 GB, free: 2.758 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.095e-05/2.318e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.754 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01719/0.01721, allocations: 19.11 MB / 0.5729 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.009053/0.02626, allocations: 6.394 MB / 0.5791 GB, free: 9.172 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001246/0.02751, allocations: 115.1 kB / 0.5792 GB, free: 9.059 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.002575/0.03009, allocations: 2.258 MB / 0.5814 GB, free: 6.793 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.002118/0.0322, allocations: 1.266 MB / 0.5827 GB, free: 5.52 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.002006/0.03421, allocations: 1.297 MB / 0.5839 GB, free: 4.223 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.003159/0.03737, allocations: 4.954 MB / 0.5888 GB, free: 15.25 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002727/0.0401, allocations: 3.162 MB / 0.5919 GB, free: 12.02 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002533/0.04263, allocations: 3.013 MB / 0.5948 GB, free: 9 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001961/0.04459, allocations: 2.182 MB / 0.5969 GB, free: 6.812 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0003399/0.04493, allocations: 436 kB / 0.5973 GB, free: 6.387 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001119/0.04605, allocations: 0.9475 MB / 0.5983 GB, free: 5.438 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0009574/0.04701, allocations: 1.793 MB / 0.6 GB, free: 3.641 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0009631/0.04797, allocations: 1.329 MB / 0.6013 GB, free: 2.309 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.003933/0.0519, allocations: 6.646 MB / 0.6078 GB, free: 11.64 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.05191, allocations: 0 / 0.6078 GB, free: 11.64 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.723e-06/0.05191, allocations: 0 / 0.6078 GB, free: 11.64 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.677e-05/0.05196, allocations: 0 / 0.6078 GB, free: 11.64 MB / 0.573 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.004043/0.056, allocations: 3.434 MB / 0.6112 GB, free: 8.16 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.05605, allocations: 8.625 kB / 0.6112 GB, free: 8.152 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004074/0.05645, allocations: 466.5 kB / 0.6116 GB, free: 7.684 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0017/0.05815, allocations: 0.6546 MB / 0.6123 GB, free: 7.027 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002238/0.06039, allocations: 1.993 MB / 0.6142 GB, free: 4.98 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/0.06049, allocations: 230.3 kB / 0.6144 GB, free: 4.754 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002918/0.06079, allocations: 288.4 kB / 0.6147 GB, free: 4.473 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004906/0.06569, allocations: 5.242 MB / 0.6198 GB, free: 14.95 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.15e-05/0.06574, allocations: 19.83 kB / 0.6198 GB, free: 14.93 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001985/0.06594, allocations: 128 kB / 0.62 GB, free: 14.8 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002267/0.06617, allocations: 229.7 kB / 0.6202 GB, free: 14.58 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00355/0.06972, allocations: 3.746 MB / 0.6238 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01059/0.08031, allocations: 13.54 MB / 0.6371 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/0.08141, allocations: 1.223 MB / 0.6383 GB, free: 11.69 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001132/0.08254, allocations: 0.9991 MB / 0.6392 GB, free: 10.69 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.602e-05/0.08259, allocations: 12.94 kB / 0.6392 GB, free: 10.68 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.08262, allocations: 47.56 kB / 0.6393 GB, free: 10.62 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=107): time 2.635e-06/0.08262, allocations: 0 / 0.6393 GB, free: 10.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=138): time 0.01251/0.09513, allocations: 8.42 MB / 0.6475 GB, free: 2.203 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.09517, allocations: 68.72 kB / 0.6476 GB, free: 2.125 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009291/0.09609, allocations: 1.153 MB / 0.6487 GB, free: 0.9648 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.137e-05/0.09616, allocations: 49.7 kB / 0.6488 GB, free: 0.9102 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005423/0.0967, allocations: 1.331 MB / 0.6501 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002478/0.09695, allocations: 0.4919 MB / 0.6505 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002864/0.09723, allocations: 287.5 kB / 0.6508 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.046e-05/0.0973, allocations: 305.1 kB / 0.6511 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008372/0.09814, allocations: 0.9096 MB / 0.652 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001246/0.09939, allocations: 1.326 MB / 0.6533 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00199/0.1014, allocations: 2.43 MB / 0.6557 GB, free: 9.473 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.1014, allocations: 0 / 0.6557 GB, free: 9.473 MB / 0.6198 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.003512/0.1049, allocations: 3.429 MB / 0.659 GB, free: 6.023 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.1049, allocations: 13.56 kB / 0.659 GB, free: 6.012 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.1049, allocations: 16.81 kB / 0.659 GB, free: 5.996 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002038/0.107, allocations: 1.182 MB / 0.6602 GB, free: 4.809 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004849/0.1075, allocations: 255.6 kB / 0.6604 GB, free: 4.559 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01113/0.1186, allocations: 13.37 MB / 0.6735 GB, free: 6.852 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006754/0.1193, allocations: 83.92 kB / 0.6736 GB, free: 6.77 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.608e-05/0.1193, allocations: 63.98 kB / 0.6736 GB, free: 6.707 MB / 0.6355 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.001296/0.1206, allocations: 1.114 MB / 0.6747 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001601/0.1208, allocations: 171 kB / 0.6749 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003278/0.1241, allocations: 3.13 MB / 0.6779 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.1241, allocations: 19.94 kB / 0.678 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/0.1241, allocations: 12 kB / 0.678 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.914e-06/0.1241, allocations: 7.969 kB / 0.678 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2409/0.365, allocations: 5.906 MB / 0.6837 GB, free: 152.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.316e-05/0.365, allocations: 5.844 kB / 0.6837 GB, free: 152.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004682/0.3655, allocations: 145.2 kB / 0.6839 GB, free: 152.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002171/0.3677, allocations: 1.066 MB / 0.6849 GB, free: 152.4 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.01e-05/0.3677, allocations: 35.72 kB / 0.685 GB, free: 152.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01061/0.3783, allocations: 13.03 MB / 0.6977 GB, free: 144.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.3784, allocations: 2.969 kB / 0.6977 GB, free: 144.7 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003138/0.3815, allocations: 3.117 MB / 0.7007 GB, free: 143.4 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005711/0.3821, allocations: 355.5 kB / 0.7011 GB, free: 143.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.3822, allocations: 33.11 kB / 0.7011 GB, free: 143.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004633/0.3826, allocations: 80.09 kB / 0.7012 GB, free: 143.3 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002973/0.3829, allocations: 127.2 kB / 0.7013 GB, free: 143.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.237e-05/0.383, allocations: 43.5 kB / 0.7013 GB, free: 143.3 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0007818/0.3838, allocations: 0.7654 MB / 0.7021 GB, free: 143 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3838, allocations: 6.5 kB / 0.7021 GB, free: 143 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001505/0.3853, allocations: 0.6613 MB / 0.7027 GB, free: 142.9 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 (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.002917/0.3882, allocations: 3.694 MB / 0.7063 GB, free: 141.1 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002876/0.3911, allocations: 3.013 MB / 0.7093 GB, free: 139.8 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.3911, allocations: 0 / 0.7093 GB, free: 139.8 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.00193/0.393, allocations: 1.881 MB / 0.7111 GB, free: 138.8 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001654/0.3947, allocations: 0.498 MB / 0.7116 GB, free: 138.7 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02253/0.4172, allocations: 19.21 MB / 0.7304 GB, free: 129.7 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002112/0.4193, allocations: 1.766 MB / 0.7321 GB, free: 129.2 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0009657/0.4203, allocations: 353.5 kB / 0.7324 GB, free: 129.2 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006815/0.4209, allocations: 1.011 MB / 0.7334 GB, free: 128.3 MB / 0.6355 GB Notification: Performance of SimCode: time 1.122e-06/0.4209, allocations: 0 / 0.7334 GB, free: 128.3 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06495/0.4859, allocations: 55.87 MB / 0.788 GB, free: 84.16 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.134/8.62, allocations: 7.875 kB / 0.788 GB, free: 84.15 MB / 0.6355 GB " [Timeout remaining time 651] (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: 11.185449150390923] Failed to read output from testmodel.py, exit status != 0: 8.72551940754056 8.735910496 8.682436275 Calling exit ...