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.001153/0.001153, allocations: 76.5 kB / 19.93 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.0008759/0.0008759, allocations: 169.9 kB / 23.2 MB, free: 1.359 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.8734/0.8734, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.5651/0.5651, 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_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.673e-06/1.673e-06, allocations: 0 / 0.5542 GB, free: 2.785 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.594e-05/1.761e-05, allocations: 10.22 kB / 0.5542 GB, free: 2.773 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.02396/0.02398, allocations: 32.96 MB / 0.5864 GB, free: 1.715 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.01178/0.03576, allocations: 9.885 MB / 0.596 GB, free: 7.805 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002006/0.03776, allocations: 190.6 kB / 0.5962 GB, free: 7.617 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.004594/0.04236, allocations: 3.839 MB / 0.6 GB, free: 3.77 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.00322/0.04558, allocations: 2.202 MB / 0.6021 GB, free: 1.555 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003161/0.04874, allocations: 1.979 MB / 0.6041 GB, free: 15.57 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.00587/0.05461, allocations: 8.141 MB / 0.612 GB, free: 7.406 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004982/0.05959, allocations: 5.249 MB / 0.6171 GB, free: 2.039 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005025/0.06462, allocations: 4.896 MB / 0.6219 GB, free: 13.13 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00344/0.06806, allocations: 3.449 MB / 0.6253 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0005823/0.06864, allocations: 0.6797 MB / 0.626 GB, free: 8.992 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001707/0.07035, allocations: 1.381 MB / 0.6273 GB, free: 7.609 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.001528/0.07187, allocations: 2.802 MB / 0.63 GB, free: 4.801 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.001828/0.0737, allocations: 2.168 MB / 0.6322 GB, free: 2.629 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.005946/0.07965, allocations: 10.58 MB / 0.6425 GB, free: 8.016 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.07965, allocations: 0 / 0.6425 GB, free: 8.016 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.654e-06/0.07965, allocations: 0 / 0.6425 GB, free: 8.016 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.256e-05/0.07974, allocations: 0 / 0.6425 GB, free: 8.016 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.005567/0.0853, allocations: 5.404 MB / 0.6478 GB, free: 2.547 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.08535, allocations: 8.625 kB / 0.6478 GB, free: 2.539 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006396/0.08599, allocations: 0.7023 MB / 0.6485 GB, free: 1.828 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002333/0.08832, allocations: 1.008 MB / 0.6494 GB, free: 0.8164 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004184/0.09251, allocations: 3.127 MB / 0.6525 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002398/0.09274, allocations: 357.9 kB / 0.6528 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001361/0.09411, allocations: 468.3 kB / 0.6533 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0134/0.1075, allocations: 8.663 MB / 0.6617 GB, free: 3.602 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.955e-05/0.1076, allocations: 24 kB / 0.6618 GB, free: 3.578 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003991/0.108, allocations: 220.1 kB / 0.662 GB, free: 3.363 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003632/0.1084, allocations: 365.1 kB / 0.6623 GB, free: 3.004 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008143/0.1165, allocations: 5.933 MB / 0.6681 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2643/0.3808, allocations: 23.7 MB / 0.6913 GB, free: 136.6 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00194/0.3827, allocations: 1.984 MB / 0.6932 GB, free: 136.6 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001055/0.3838, allocations: 1.336 MB / 0.6945 GB, free: 136.6 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.423e-05/0.3838, allocations: 15.94 kB / 0.6945 GB, free: 136.6 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.3838, allocations: 53.81 kB / 0.6946 GB, free: 136.5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=157): time 3.326e-06/0.3839, allocations: 0 / 0.6946 GB, free: 136.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=160): time 0.0069/0.3908, allocations: 6.669 MB / 0.7011 GB, free: 134.3 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/0.3908, allocations: 70.62 kB / 0.7012 GB, free: 134.2 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/0.3921, allocations: 1.909 MB / 0.703 GB, free: 133.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.767e-05/0.3921, allocations: 53.67 kB / 0.7031 GB, free: 133.4 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005622/0.3927, allocations: 2.187 MB / 0.7052 GB, free: 132.1 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002028/0.3929, allocations: 0.5753 MB / 0.7058 GB, free: 131.7 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003202/0.3932, allocations: 401.5 kB / 0.7061 GB, free: 131.5 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.464e-05/0.3933, allocations: 305.1 kB / 0.7064 GB, free: 131.2 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00086/0.3941, allocations: 1.059 MB / 0.7075 GB, free: 130.8 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/0.3951, allocations: 1.765 MB / 0.7092 GB, free: 129.5 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001986/0.3971, allocations: 3.05 MB / 0.7122 GB, free: 127.6 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/0.3971, allocations: 6.031 kB / 0.7122 GB, free: 127.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.003257/0.4004, allocations: 3.904 MB / 0.716 GB, free: 126 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.4004, allocations: 21.03 kB / 0.716 GB, free: 126 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/0.4004, allocations: 20.97 kB / 0.716 GB, free: 126 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001224/0.4016, allocations: 0.9281 MB / 0.7169 GB, free: 125.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008918/0.4025, allocations: 426.4 kB / 0.7173 GB, free: 125.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01008/0.4126, allocations: 21.37 MB / 0.7382 GB, free: 107.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.4136, allocations: 122.4 kB / 0.7383 GB, free: 107.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/0.4137, allocations: 92.06 kB / 0.7384 GB, free: 107.8 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.001897/0.4156, allocations: 1.655 MB / 0.74 GB, free: 107 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00022/0.4158, allocations: 268.2 kB / 0.7403 GB, free: 106.9 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003467/0.4193, allocations: 3.24 MB / 0.7435 GB, free: 105.5 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.747e-05/0.4193, allocations: 18.5 kB / 0.7435 GB, free: 105.5 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-05/0.4193, allocations: 9.25 kB / 0.7435 GB, free: 105.5 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.4194, allocations: 6.703 kB / 0.7435 GB, free: 105.5 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008629/0.428, allocations: 7.165 MB / 0.7505 GB, free: 102.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.428, allocations: 5.219 kB / 0.7505 GB, free: 102.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005858/0.4286, allocations: 223.3 kB / 0.7507 GB, free: 102.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001547/0.4301, allocations: 0.8845 MB / 0.7516 GB, free: 102.2 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.296e-05/0.4302, allocations: 31 kB / 0.7516 GB, free: 102.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01081/0.441, allocations: 21.32 MB / 0.7724 GB, free: 84.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.441, allocations: 10.12 kB / 0.7724 GB, free: 84.32 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003429/0.4444, allocations: 3.352 MB / 0.7757 GB, free: 82.73 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006616/0.4451, allocations: 495 kB / 0.7762 GB, free: 82.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001498/0.4452, allocations: 31.25 kB / 0.7762 GB, free: 82.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005539/0.4458, allocations: 94 kB / 0.7763 GB, free: 82.41 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002534/0.4461, allocations: 149.5 kB / 0.7764 GB, free: 82.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.799e-05/0.4461, allocations: 45.78 kB / 0.7765 GB, free: 82.37 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001012/0.4471, allocations: 1.224 MB / 0.7777 GB, free: 81.89 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.4471, allocations: 0 / 0.7777 GB, free: 81.89 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002754/0.4499, allocations: 0.9043 MB / 0.7786 GB, free: 81.82 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.004281/0.4542, allocations: 3.956 MB / 0.7824 GB, free: 79.67 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.004906/0.4591, allocations: 4.286 MB / 0.7866 GB, free: 77.24 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.4591, allocations: 0 / 0.7866 GB, free: 77.24 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002819/0.4619, allocations: 2.906 MB / 0.7894 GB, free: 74.61 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002749/0.4646, allocations: 0.8279 MB / 0.7903 GB, free: 73.95 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02403/0.4887, allocations: 25.27 MB / 0.8149 GB, free: 47.71 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001841/0.4905, allocations: 2.669 MB / 0.8175 GB, free: 45 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001141/0.4917, allocations: 0.5254 MB / 0.818 GB, free: 44.47 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001033/0.4927, allocations: 1.652 MB / 0.8197 GB, free: 42.82 MB / 0.6355 GB Notification: Performance of SimCode: time 1.513e-06/0.4927, allocations: 4 kB / 0.8197 GB, free: 42.82 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09374/0.5864, allocations: 74.89 MB / 0.8928 GB, free: 1.117 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.083/9.67, allocations: 21.25 kB / 0.8928 GB, free: 1.102 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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_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: 12.264525675214827] Failed to read output from testmodel.py, exit status != 0: 9.78571476880461 9.798520162 9.716886983 Calling exit ...