Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.0008401/0.0008401, 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.0009251/0.0009251, 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.9247/0.9247, allocations: 177.1 MB / 203.5 MB, free: 5.723 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.5836/0.5836, 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.ACLineMatrix_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.394e-06/2.394e-06, allocations: 0 / 0.5542 GB, free: 2.742 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.472e-05/2.711e-05, allocations: 3.828 kB / 0.5542 GB, free: 2.738 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.01838/0.0184, allocations: 21.13 MB / 0.5748 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.008231/0.02664, allocations: 6.116 MB / 0.5808 GB, free: 7.414 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001647/0.02828, allocations: 123.1 kB / 0.5809 GB, free: 7.293 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.002412/0.03069, allocations: 1.581 MB / 0.5825 GB, free: 5.707 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.003272/0.03397, allocations: 1.756 MB / 0.5842 GB, free: 3.941 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.002581/0.03655, allocations: 1.36 MB / 0.5855 GB, free: 2.582 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.005868/0.04241, allocations: 6.051 MB / 0.5914 GB, free: 12.51 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00412/0.04653, allocations: 3.209 MB / 0.5946 GB, free: 9.215 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004965/0.0515, allocations: 3.43 MB / 0.5979 GB, free: 5.777 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003919/0.05542, allocations: 2.782 MB / 0.6006 GB, free: 2.988 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.001093/0.05651, allocations: 456 kB / 0.6011 GB, free: 2.543 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001905/0.05842, allocations: 1.049 MB / 0.6021 GB, free: 1.492 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.001508/0.05992, allocations: 2.194 MB / 0.6042 GB, free: 15.29 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.001485/0.06141, allocations: 1.501 MB / 0.6057 GB, free: 13.79 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.005681/0.06709, allocations: 7.433 MB / 0.613 GB, free: 6.336 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.0671, allocations: 7.938 kB / 0.613 GB, free: 6.328 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.844e-06/0.0671, allocations: 0 / 0.613 GB, free: 6.328 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001494/0.06725, allocations: 3.938 kB / 0.613 GB, free: 6.324 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: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.005077/0.07232, allocations: 3.795 MB / 0.6167 GB, free: 2.48 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.07237, allocations: 8.031 kB / 0.6167 GB, free: 2.473 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004578/0.07283, allocations: 0.4976 MB / 0.6172 GB, free: 1.965 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003127/0.07596, allocations: 1.251 MB / 0.6184 GB, free: 0.7109 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003122/0.07908, allocations: 2.297 MB / 0.6206 GB, free: 14.37 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001261/0.0792, allocations: 242.4 kB / 0.6209 GB, free: 14.13 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000428/0.07963, allocations: 315.9 kB / 0.6212 GB, free: 13.82 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008245/0.08788, allocations: 6.438 MB / 0.6274 GB, free: 7.07 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.822e-05/0.08794, allocations: 11.94 kB / 0.6275 GB, free: 7.059 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002431/0.08818, allocations: 147.9 kB / 0.6276 GB, free: 6.914 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003271/0.08851, allocations: 402.3 kB / 0.628 GB, free: 6.52 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006072/0.09458, allocations: 4.658 MB / 0.6325 GB, free: 1.852 MB / 0.5886 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02048/0.1151, allocations: 18.64 MB / 0.6507 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001429/0.1165, allocations: 1.363 MB / 0.6521 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001234/0.1177, allocations: 1.432 MB / 0.6535 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.179e-05/0.1178, allocations: 17 kB / 0.6535 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.1178, allocations: 43.56 kB / 0.6535 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=110): time 3.226e-06/0.1178, allocations: 0 / 0.6535 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=179): time 0.3189/0.4367, allocations: 37.07 MB / 0.6897 GB, free: 152.6 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.4367, allocations: 76.38 kB / 0.6898 GB, free: 152.5 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001334/0.4381, allocations: 1.453 MB / 0.6912 GB, free: 152 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002011/0.4383, allocations: 50.95 kB / 0.6913 GB, free: 151.9 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005322/0.4388, allocations: 1.58 MB / 0.6928 GB, free: 151 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004071/0.4392, allocations: 0.6378 MB / 0.6934 GB, free: 150.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003978/0.4396, allocations: 373.4 kB / 0.6938 GB, free: 150.3 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.922e-05/0.4396, allocations: 305.1 kB / 0.6941 GB, free: 150 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001453/0.4411, allocations: 1.785 MB / 0.6958 GB, free: 149.4 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001574/0.4427, allocations: 2.349 MB / 0.6981 GB, free: 148.1 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003227/0.4459, allocations: 4.392 MB / 0.7024 GB, free: 145.9 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/0.4459, allocations: 3 kB / 0.7024 GB, free: 145.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.00994/0.4558, allocations: 8.424 MB / 0.7106 GB, free: 143.4 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.962e-05/0.4559, allocations: 15.8 kB / 0.7106 GB, free: 143.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.114e-05/0.4559, allocations: 16.88 kB / 0.7107 GB, free: 143.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01/0.4659, allocations: 4.619 MB / 0.7152 GB, free: 142.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008956/0.4668, allocations: 299.4 kB / 0.7155 GB, free: 142.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02843/0.4952, allocations: 31.58 MB / 0.7463 GB, free: 124.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/0.4967, allocations: 155.3 kB / 0.7464 GB, free: 124.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001406/0.4968, allocations: 80.31 kB / 0.7465 GB, free: 124.8 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 {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001746/0.4986, allocations: 1.337 MB / 0.7478 GB, free: 124 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002882/0.4989, allocations: 205.4 kB / 0.748 GB, free: 123.9 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009011/0.5079, allocations: 8.29 MB / 0.7561 GB, free: 117.2 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.5079, allocations: 20 kB / 0.7561 GB, free: 117.1 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.457e-05/0.5079, allocations: 24 kB / 0.7562 GB, free: 117.1 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.771e-05/0.508, allocations: 11.95 kB / 0.7562 GB, free: 117.1 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01263/0.5206, allocations: 12.22 MB / 0.7681 GB, free: 104.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.748e-06/0.5206, allocations: 12.16 kB / 0.7681 GB, free: 104.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003829/0.521, allocations: 159.8 kB / 0.7683 GB, free: 104.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007202/0.5282, allocations: 4.47 MB / 0.7726 GB, free: 100.1 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002172/0.5284, allocations: 40 kB / 0.7727 GB, free: 100.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02332/0.5517, allocations: 31.2 MB / 0.8031 GB, free: 68.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.5517, allocations: 8 kB / 0.8031 GB, free: 68.24 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008754/0.5605, allocations: 8.081 MB / 0.811 GB, free: 60.03 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001212/0.5617, allocations: 0.5609 MB / 0.8116 GB, free: 59.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002156/0.5619, allocations: 35.98 kB / 0.8116 GB, free: 59.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007899/0.5627, allocations: 135.8 kB / 0.8117 GB, free: 59.3 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009302/0.5636, allocations: 180.8 kB / 0.8119 GB, free: 59.12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002655/0.5639, allocations: 51.94 kB / 0.812 GB, free: 59.07 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001107/0.565, allocations: 0.9548 MB / 0.8129 GB, free: 58.12 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.51e-07/0.565, allocations: 4 kB / 0.8129 GB, free: 58.12 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.004238/0.5692, allocations: 1.113 MB / 0.814 GB, free: 57 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 (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 {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009412/0.5786, allocations: 8.691 MB / 0.8225 GB, free: 48.18 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.006725/0.5854, allocations: 6.281 MB / 0.8286 GB, free: 41.83 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.5854, allocations: 7.938 kB / 0.8286 GB, free: 41.82 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.004368/0.5897, allocations: 4.183 MB / 0.8327 GB, free: 37.58 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001582/0.5913, allocations: 0.5247 MB / 0.8332 GB, free: 37.11 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03355/0.6249, allocations: 33.58 MB / 0.866 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001728/0.6266, allocations: 2.17 MB / 0.8681 GB, free: 448 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0008208/0.6274, allocations: 390 kB / 0.8685 GB, free: 64 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001024/0.6285, allocations: 1.219 MB / 0.8697 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of SimCode: time 2.154e-06/0.6285, allocations: 0 / 0.8697 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3431/0.9716, allocations: 89.96 MB / 0.9575 GB, free: 214.5 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.685/9.657, allocations: 5.75 kB / 0.9576 GB, free: 214.5 MB / 0.7136 GB " [Timeout remaining time 650] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.380566464737058] Failed to read output from testmodel.py, exit status != 0: 9.77645942568779 9.786260273 9.717408634 Calling exit ...