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.001415/0.001415, allocations: 116.8 kB / 17.17 MB, free: 5.977 MB / 14.72 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.001559/0.001559, allocations: 209.5 kB / 20.13 MB, free: 3.035 MB / 14.72 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 1.486/1.486, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] 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.00254/0.00254, allocations: 290.1 kB / 309.8 MB, free: 3.43 MB / 238.1 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 1.084/1.084, allocations: 180.6 MB / 0.5338 GB, free: 12.36 MB / 398.1 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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002997/0.002997, allocations: 99.84 kB / 0.7347 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5179/0.5209, allocations: 95.34 MB / 0.8278 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02901/0.5499, allocations: 23.79 MB / 0.851 GB, free: 2.852 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01343/0.5633, allocations: 6.579 MB / 0.8574 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003074/0.5664, allocations: 126.9 kB / 0.8576 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.005037/0.5714, allocations: 1.536 MB / 0.8591 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006164/0.5776, allocations: 1.93 MB / 0.861 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004865/0.5825, allocations: 1.459 MB / 0.8624 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.009623/0.5921, allocations: 6.908 MB / 0.8691 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008021/0.6001, allocations: 5.184 MB / 0.8742 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005379/0.6055, allocations: 2.914 MB / 0.877 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006699/0.6122, allocations: 3.748 MB / 0.8807 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001498/0.6137, allocations: 0.5265 MB / 0.8812 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003542/0.6172, allocations: 1.193 MB / 0.8824 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.004079/0.6213, allocations: 2.532 MB / 0.8848 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.00551/0.6268, allocations: 2.53 MB / 0.8873 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01307/0.6399, allocations: 8.545 MB / 0.8957 GB, free: 4.449 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.6399, allocations: 7.922 kB / 0.8957 GB, free: 4.441 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6399, allocations: 0 / 0.8957 GB, free: 4.441 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0002403/0.6401, allocations: 0 / 0.8957 GB, free: 4.441 MB / 0.6231 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.0104/0.6505, allocations: 4.543 MB / 0.9001 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.6506, allocations: 12.03 kB / 0.9001 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001172/0.6507, allocations: 99.55 kB / 0.9002 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001073/0.6518, allocations: 0.5753 MB / 0.9008 GB, free: 15.13 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009225/0.661, allocations: 1.699 MB / 0.9024 GB, free: 13.42 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005789/0.6668, allocations: 2.713 MB / 0.9051 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002527/0.667, allocations: 275.7 kB / 0.9053 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001001/0.668, allocations: 364.2 kB / 0.9057 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01464/0.6827, allocations: 7.479 MB / 0.913 GB, free: 2.289 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001068/0.6828, allocations: 19.86 kB / 0.913 GB, free: 2.27 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007054/0.6835, allocations: 159.9 kB / 0.9132 GB, free: 2.113 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006842/0.6842, allocations: 487.3 kB / 0.9136 GB, free: 1.637 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01181/0.696, allocations: 5.701 MB / 0.9192 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04081/0.7368, allocations: 31.55 MB / 0.95 GB, free: 9.613 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003186/0.74, allocations: 2.019 MB / 0.952 GB, free: 7.582 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003286/0.7432, allocations: 2.116 MB / 0.954 GB, free: 5.465 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001728/0.7434, allocations: 17.31 kB / 0.9541 GB, free: 5.445 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.099e-05/0.7435, allocations: 43.88 kB / 0.9541 GB, free: 5.395 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=146): time 2.945e-06/0.7435, allocations: 0 / 0.9541 GB, free: 5.395 MB / 0.6856 GB Notification: Performance of matching and sorting (n=251): time 0.3327/1.076, allocations: 76.8 MB / 1.029 GB, free: 8.449 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.382e-05/1.076, allocations: 81.34 kB / 1.029 GB, free: 8.359 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002608/1.079, allocations: 1.674 MB / 1.031 GB, free: 6.641 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0004657/1.079, allocations: 65.7 kB / 1.031 GB, free: 6.57 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.00138/1.081, allocations: 1.792 MB / 1.033 GB, free: 4.762 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.001116/1.082, allocations: 0.8946 MB / 1.033 GB, free: 3.859 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001122/1.083, allocations: 489.4 kB / 1.034 GB, free: 3.375 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001304/1.083, allocations: 305.1 kB / 1.034 GB, free: 3.074 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004198/1.087, allocations: 2.734 MB / 1.037 GB, free: 344 kB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00476/1.092, allocations: 3.336 MB / 1.04 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009299/1.101, allocations: 6.386 MB / 1.046 GB, free: 6.117 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-05/1.101, allocations: 4 kB / 1.046 GB, free: 6.113 MB / 0.7794 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03501/1.136, allocations: 14.4 MB / 1.06 GB, free: 7.664 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.599e-05/1.136, allocations: 12 kB / 1.06 GB, free: 7.652 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.239e-05/1.136, allocations: 20.84 kB / 1.061 GB, free: 7.633 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03211/1.168, allocations: 9.247 MB / 1.07 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001257/1.17, allocations: 295.5 kB / 1.07 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09014/1.26, allocations: 52.4 MB / 1.121 GB, free: 8.805 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003325/1.263, allocations: 227.7 kB / 1.121 GB, free: 8.582 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003943/1.264, allocations: 99.94 kB / 1.121 GB, free: 8.484 MB / 0.8575 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.003105/1.267, allocations: 1.588 MB / 1.123 GB, free: 6.891 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006853/1.267, allocations: 262.5 kB / 1.123 GB, free: 6.633 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03563/1.303, allocations: 14.47 MB / 1.137 GB, free: 8.109 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.45e-05/1.303, allocations: 24 kB / 1.137 GB, free: 8.086 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001341/1.303, allocations: 44 kB / 1.137 GB, free: 8.043 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.048e-05/1.303, allocations: 11.95 kB / 1.137 GB, free: 8.031 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4346/1.738, allocations: 20.23 MB / 1.157 GB, free: 268.9 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.058e-05/1.738, allocations: 15.03 kB / 1.157 GB, free: 268.9 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008281/1.739, allocations: 159.9 kB / 1.157 GB, free: 268.9 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02933/1.768, allocations: 9.01 MB / 1.166 GB, free: 267.8 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005182/1.768, allocations: 48.5 kB / 1.166 GB, free: 267.8 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06956/1.838, allocations: 51.96 MB / 1.217 GB, free: 241.2 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/1.838, allocations: 7.938 kB / 1.217 GB, free: 241.2 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02759/1.866, allocations: 14.09 MB / 1.231 GB, free: 227 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001681/1.867, allocations: 0.8585 MB / 1.231 GB, free: 226.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004396/1.868, allocations: 54.09 kB / 1.231 GB, free: 226 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00213/1.87, allocations: 207.7 kB / 1.232 GB, free: 225.8 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001251/1.871, allocations: 245.2 kB / 1.232 GB, free: 225.6 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002074/1.871, allocations: 68 kB / 1.232 GB, free: 225.5 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001157/1.873, allocations: 1.125 MB / 1.233 GB, free: 224.4 MB / 0.8731 GB Notification: Performance of sort global known variables: time 9e-08/1.873, allocations: 0 / 1.233 GB, free: 224.4 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.003891/1.876, allocations: 1.617 MB / 1.235 GB, free: 222.8 MB / 0.8731 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.02697/1.903, allocations: 14.71 MB / 1.249 GB, free: 207.9 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01982/1.923, allocations: 10.19 MB / 1.259 GB, free: 197.7 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/1.923, allocations: 0 / 1.259 GB, free: 197.7 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.01592/1.939, allocations: 7.026 MB / 1.266 GB, free: 190.6 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002843/1.942, allocations: 0.5591 MB / 1.266 GB, free: 190.1 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08137/2.023, allocations: 50.4 MB / 1.316 GB, free: 138.6 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002786/2.026, allocations: 3.228 MB / 1.319 GB, free: 135.4 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0009385/2.027, allocations: 399.3 kB / 1.319 GB, free: 135 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001181/2.028, allocations: 1.46 MB / 1.321 GB, free: 133.5 MB / 0.8731 GB Notification: Performance of SimCode: time 6.62e-07/2.028, allocations: 0 / 1.321 GB, free: 133.5 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1562/2.184, allocations: 121.9 MB / 1.44 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.5/17.69, allocations: 10.45 kB / 1.44 GB, free: 12.18 MB / 0.8731 GB " [Timeout remaining time 642] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 22.330984316009562] Failed to read output from testmodel.py, exit status != 0: 17.876671892008744 17.886749582 17.244278675 Calling exit ...