Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0007629/0.0007629, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008217/0.0008217, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8853/0.8853, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001448/0.001448, allocations: 230.1 kB / 259.4 MB, free: 13.01 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6685/0.6685, allocations: 138.4 MB / 454.3 MB, free: 29.98 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 0.6463 GB, free: 1.812 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.313e-05/1.444e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.809 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.2402/0.2402, allocations: 21.82 MB / 0.6676 GB, free: 44.73 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.008764/0.249, allocations: 6.392 MB / 0.6739 GB, free: 40.53 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002147/0.2511, allocations: 125.8 kB / 0.674 GB, free: 40.47 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.002273/0.2534, allocations: 1.511 MB / 0.6755 GB, free: 39.63 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.003556/0.257, allocations: 1.984 MB / 0.6774 GB, free: 38.48 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003178/0.2602, allocations: 1.466 MB / 0.6788 GB, free: 37.68 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.007358/0.2675, allocations: 7.027 MB / 0.6857 GB, free: 34.57 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004862/0.2724, allocations: 3.751 MB / 0.6894 GB, free: 32.69 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005141/0.2775, allocations: 4.023 MB / 0.6933 GB, free: 30.8 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003721/0.2812, allocations: 3.398 MB / 0.6966 GB, free: 29.72 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0005675/0.2818, allocations: 0.5273 MB / 0.6971 GB, free: 29.72 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001957/0.2838, allocations: 1.133 MB / 0.6982 GB, free: 29.5 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.001848/0.2856, allocations: 2.663 MB / 0.7008 GB, free: 28.23 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.001386/0.287, allocations: 1.759 MB / 0.7025 GB, free: 27.25 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.005032/0.292, allocations: 8.682 MB / 0.711 GB, free: 21.11 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.292, allocations: 0 / 0.711 GB, free: 21.11 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.964e-06/0.292, allocations: 1.219 kB / 0.711 GB, free: 21.11 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.66e-05/0.2921, allocations: 0 / 0.711 GB, free: 21.11 MB / 0.5573 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.005085/0.2972, allocations: 4.429 MB / 0.7153 GB, free: 18.08 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.2973, allocations: 11.78 kB / 0.7154 GB, free: 18.08 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005094/0.2978, allocations: 0.5761 MB / 0.7159 GB, free: 17.67 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004711/0.3025, allocations: 1.706 MB / 0.7176 GB, free: 16.8 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003374/0.3058, allocations: 2.674 MB / 0.7202 GB, free: 15.16 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001417/0.306, allocations: 275.4 kB / 0.7205 GB, free: 15.03 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004443/0.3064, allocations: 360.8 kB / 0.7208 GB, free: 14.88 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009132/0.3156, allocations: 7.721 MB / 0.7283 GB, free: 6.832 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-05/0.3156, allocations: 8.688 kB / 0.7284 GB, free: 6.824 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003299/0.316, allocations: 164.1 kB / 0.7285 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003687/0.3163, allocations: 487.3 kB / 0.729 GB, free: 6.188 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006559/0.3229, allocations: 5.693 MB / 0.7345 GB, free: 500 kB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02181/0.3447, allocations: 20.52 MB / 0.7546 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001971/0.3467, allocations: 2.012 MB / 0.7565 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002016/0.3487, allocations: 2.108 MB / 0.7586 GB, free: 7.422 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001023/0.3488, allocations: 13.31 kB / 0.7586 GB, free: 7.406 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/0.3488, allocations: 55.81 kB / 0.7587 GB, free: 7.344 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=146): time 3.978e-06/0.3488, allocations: 0 / 0.7587 GB, free: 7.344 MB / 0.5886 GB Notification: Performance of matching and sorting (n=251): time 0.1497/0.4986, allocations: 76.72 MB / 0.8336 GB, free: 10.5 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.32e-05/0.4986, allocations: 77.41 kB / 0.8337 GB, free: 10.41 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00179/0.5004, allocations: 1.697 MB / 0.8353 GB, free: 8.672 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0003745/0.5008, allocations: 69.64 kB / 0.8354 GB, free: 8.598 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008111/0.5016, allocations: 1.803 MB / 0.8371 GB, free: 6.777 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006494/0.5023, allocations: 0.879 MB / 0.838 GB, free: 5.891 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006753/0.5029, allocations: 485.4 kB / 0.8385 GB, free: 5.41 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0003425/0.5033, allocations: 305.1 kB / 0.8388 GB, free: 5.109 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002774/0.5061, allocations: 2.734 MB / 0.8414 GB, free: 2.371 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00303/0.5091, allocations: 3.328 MB / 0.8447 GB, free: 14.79 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006349/0.5154, allocations: 6.393 MB / 0.8509 GB, free: 8.156 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.289e-05/0.5155, allocations: 11.11 kB / 0.8509 GB, free: 8.148 MB / 0.6823 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02091/0.5364, allocations: 14.4 MB / 0.865 GB, free: 9.699 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/0.5364, allocations: 12.62 kB / 0.865 GB, free: 9.688 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/0.5364, allocations: 20 kB / 0.865 GB, free: 9.668 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01769/0.5541, allocations: 9.201 MB / 0.874 GB, free: 456 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008398/0.5549, allocations: 303.4 kB / 0.8743 GB, free: 152 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05271/0.6077, allocations: 51.01 MB / 0.9241 GB, free: 12.42 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002113/0.6098, allocations: 219.7 kB / 0.9243 GB, free: 12.2 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002112/0.61, allocations: 96 kB / 0.9244 GB, free: 12.11 MB / 0.7605 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.0024/0.6124, allocations: 1.591 MB / 0.926 GB, free: 10.51 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004502/0.6128, allocations: 258.6 kB / 0.9262 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2926/0.9054, allocations: 14.47 MB / 0.9403 GB, free: 234.4 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.847e-05/0.9054, allocations: 23.72 kB / 0.9404 GB, free: 234.4 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001409/0.9056, allocations: 47.84 kB / 0.9404 GB, free: 234.4 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-05/0.9056, allocations: 11.67 kB / 0.9404 GB, free: 234.4 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02917/0.9348, allocations: 19.52 MB / 0.9595 GB, free: 230.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.972e-05/0.9348, allocations: 10.25 kB / 0.9595 GB, free: 230.3 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005663/0.9354, allocations: 164.3 kB / 0.9597 GB, free: 230.3 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01828/0.9537, allocations: 8.98 MB / 0.9684 GB, free: 229.2 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004464/0.9541, allocations: 48.5 kB / 0.9685 GB, free: 229.2 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04693/1.001, allocations: 50.59 MB / 1.018 GB, free: 199.7 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/1.001, allocations: 4 kB / 1.018 GB, free: 199.7 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01734/1.018, allocations: 14.09 MB / 1.032 GB, free: 185.5 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001849/1.02, allocations: 0.7908 MB / 1.032 GB, free: 184.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003388/1.021, allocations: 50.84 kB / 1.032 GB, free: 184.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/1.022, allocations: 203.7 kB / 1.033 GB, free: 184.4 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001111/1.023, allocations: 258 kB / 1.033 GB, free: 184.2 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001215/1.023, allocations: 64 kB / 1.033 GB, free: 184.1 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001018/1.024, allocations: 1.125 MB / 1.034 GB, free: 183 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/1.024, allocations: 0 / 1.034 GB, free: 183 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.00493/1.029, allocations: 1.613 MB / 1.036 GB, free: 181.4 MB / 0.7605 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.01709/1.046, allocations: 14.68 MB / 1.05 GB, free: 166.5 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01264/1.059, allocations: 10.19 MB / 1.06 GB, free: 156.3 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/1.059, allocations: 8.062 kB / 1.06 GB, free: 156.3 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.009416/1.068, allocations: 6.992 MB / 1.067 GB, free: 149.3 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002264/1.07, allocations: 0.5681 MB / 1.067 GB, free: 148.8 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05811/1.128, allocations: 50.59 MB / 1.117 GB, free: 97.16 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002306/1.131, allocations: 2.673 MB / 1.119 GB, free: 94.45 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0007817/1.131, allocations: 395.3 kB / 1.12 GB, free: 94.05 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008262/1.132, allocations: 1.461 MB / 1.121 GB, free: 92.59 MB / 0.7605 GB Notification: Performance of SimCode: time 1.593e-06/1.132, allocations: 4 kB / 1.121 GB, free: 92.59 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.383/1.515, allocations: 129.4 MB / 1.248 GB, free: 236.6 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.134/10.65, allocations: 5.125 kB / 1.248 GB, free: 236.6 MB / 0.7761 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.38493057526648] Failed to read output from testmodel.py, exit status != 0: 10.774285098537803 10.785620653 10.491578391000001 Calling exit ...