Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.0008062/0.0008062, 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.0008272/0.0008272, 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.9061/0.9061, 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.001481/0.001481, allocations: 230.2 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.6717/0.6717, allocations: 138.4 MB / 454.3 MB, free: 29.97 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.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.6463 GB, free: 1.84 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.891e-05/2.068e-05, allocations: 6.281 kB / 0.6463 GB, free: 1.832 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.2541/0.2541, allocations: 28.7 MB / 0.6743 GB, free: 40.42 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01258/0.2667, allocations: 13.05 MB / 0.6871 GB, free: 31.95 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001927/0.2686, allocations: 190.6 kB / 0.6873 GB, free: 31.86 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.003794/0.2724, allocations: 3.222 MB / 0.6904 GB, free: 30.04 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.005027/0.2775, allocations: 2.827 MB / 0.6932 GB, free: 28.29 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003535/0.281, allocations: 2.047 MB / 0.6952 GB, free: 27.14 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.006803/0.2878, allocations: 7.807 MB / 0.7028 GB, free: 23.53 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004224/0.292, allocations: 4.627 MB / 0.7073 GB, free: 20.97 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004469/0.2965, allocations: 4.778 MB / 0.712 GB, free: 18.02 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002988/0.2995, allocations: 3.112 MB / 0.715 GB, free: 16.27 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0007525/0.3002, allocations: 0.5957 MB / 0.7156 GB, free: 16.27 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002303/0.3025, allocations: 1.429 MB / 0.717 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.001429/0.304, allocations: 2.531 MB / 0.7195 GB, free: 14.11 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.001922/0.3059, allocations: 2.006 MB / 0.7214 GB, free: 13 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.005496/0.3114, allocations: 9.63 MB / 0.7308 GB, free: 4.648 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.3114, allocations: 0 / 0.7308 GB, free: 4.648 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.934e-06/0.3114, allocations: 0 / 0.7308 GB, free: 4.648 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.376e-05/0.3115, allocations: 0 / 0.7308 GB, free: 4.648 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.004992/0.3165, allocations: 5.144 MB / 0.7358 GB, free: 15.44 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.681e-05/0.3165, allocations: 17.92 kB / 0.7359 GB, free: 15.42 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006014/0.3171, allocations: 0.6125 MB / 0.7365 GB, free: 14.8 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00292/0.32, allocations: 1.032 MB / 0.7375 GB, free: 13.76 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003414/0.3235, allocations: 3.02 MB / 0.7404 GB, free: 10.65 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001452/0.3236, allocations: 316.9 kB / 0.7407 GB, free: 10.34 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004005/0.324, allocations: 416.3 kB / 0.7411 GB, free: 9.934 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006495/0.3305, allocations: 7.532 MB / 0.7485 GB, free: 1.934 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-05/0.3306, allocations: 23.81 kB / 0.7485 GB, free: 1.91 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002849/0.3309, allocations: 188 kB / 0.7487 GB, free: 1.727 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004299/0.3313, allocations: 372 kB / 0.749 GB, free: 1.359 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005056/0.3363, allocations: 5.1 MB / 0.754 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01567/0.352, allocations: 19.75 MB / 0.7733 GB, free: 7.988 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001227/0.3532, allocations: 1.312 MB / 0.7746 GB, free: 6.668 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001061/0.3543, allocations: 1.252 MB / 0.7758 GB, free: 5.41 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.613e-05/0.3544, allocations: 17.31 kB / 0.7758 GB, free: 5.395 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.3544, allocations: 51.81 kB / 0.7759 GB, free: 5.336 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=130): time 2.524e-06/0.3544, allocations: 0 / 0.7759 GB, free: 5.336 MB / 0.6042 GB Notification: Performance of matching and sorting (n=199): time 0.0431/0.3975, allocations: 22.85 MB / 0.7982 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.3975, allocations: 73.41 kB / 0.7983 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002154/0.3997, allocations: 2.09 MB / 0.8003 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001062/0.3998, allocations: 61.7 kB / 0.8004 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009113/0.4007, allocations: 2.062 MB / 0.8024 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004102/0.4011, allocations: 0.6971 MB / 0.803 GB, free: 9.383 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004662/0.4016, allocations: 412.4 kB / 0.8034 GB, free: 8.973 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.368e-05/0.4017, allocations: 301.1 kB / 0.8037 GB, free: 8.676 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001354/0.403, allocations: 1.43 MB / 0.8051 GB, free: 7.242 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001754/0.4048, allocations: 2.021 MB / 0.8071 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003063/0.4078, allocations: 3.696 MB / 0.8107 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/0.4078, allocations: 8 kB / 0.8107 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.006365/0.4142, allocations: 5.6 MB / 0.8162 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.000121/0.4143, allocations: 12 kB / 0.8162 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.438e-05/0.4143, allocations: 16 kB / 0.8162 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003557/0.4179, allocations: 2.083 MB / 0.8182 GB, free: 9.199 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007481/0.4186, allocations: 383.2 kB / 0.8186 GB, free: 8.824 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02385/0.4425, allocations: 36.26 MB / 0.854 GB, free: 2.516 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001697/0.4442, allocations: 123.9 kB / 0.8541 GB, free: 2.395 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001643/0.4444, allocations: 92 kB / 0.8542 GB, free: 2.305 MB / 0.6823 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.002461/0.4468, allocations: 1.513 MB / 0.8557 GB, free: 0.7812 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003673/0.4472, allocations: 294.2 kB / 0.856 GB, free: 0.4922 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00608/0.4533, allocations: 5.141 MB / 0.861 GB, free: 11.28 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.4533, allocations: 20 kB / 0.861 GB, free: 11.26 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.705e-05/0.4533, allocations: 19.94 kB / 0.861 GB, free: 11.24 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/0.4533, allocations: 11.95 kB / 0.8611 GB, free: 11.23 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01077/0.4641, allocations: 9.096 MB / 0.8699 GB, free: 1.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.4641, allocations: 8.281 kB / 0.8699 GB, free: 1.922 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00044/0.4645, allocations: 215.6 kB / 0.8701 GB, free: 1.711 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002989/0.4675, allocations: 1.834 MB / 0.8719 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.854e-05/0.4676, allocations: 44 kB / 0.872 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0225/0.4901, allocations: 35.26 MB / 0.9064 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.4901, allocations: 11.94 kB / 0.9064 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005867/0.496, allocations: 4.844 MB / 0.9112 GB, free: 5.434 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001096/0.4971, allocations: 0.5449 MB / 0.9117 GB, free: 4.887 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002503/0.4973, allocations: 43.98 kB / 0.9117 GB, free: 4.844 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007875/0.4981, allocations: 131.8 kB / 0.9119 GB, free: 4.715 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004939/0.4986, allocations: 201.4 kB / 0.912 GB, free: 4.52 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.669e-05/0.4987, allocations: 60 kB / 0.9121 GB, free: 4.461 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001435/0.5002, allocations: 1.374 MB / 0.9134 GB, free: 3.078 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.5002, allocations: 3.938 kB / 0.9135 GB, free: 3.074 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.002433/0.5026, allocations: 1.055 MB / 0.9145 GB, free: 2.02 MB / 0.7448 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00557/0.5082, allocations: 5.455 MB / 0.9198 GB, free: 12.39 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.005923/0.5141, allocations: 5.999 MB / 0.9257 GB, free: 6.164 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.5141, allocations: 5.5 kB / 0.9257 GB, free: 6.16 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.003658/0.5177, allocations: 4.265 MB / 0.9298 GB, free: 1.664 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002647/0.5204, allocations: 1.005 MB / 0.9308 GB, free: 0.7188 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2432/0.7636, allocations: 30.83 MB / 0.9609 GB, free: 218.6 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002752/0.7663, allocations: 2.578 MB / 0.9634 GB, free: 218 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001303/0.7676, allocations: 0.5244 MB / 0.964 GB, free: 217.9 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001127/0.7688, allocations: 1.676 MB / 0.9656 GB, free: 216.5 MB / 0.7605 GB Notification: Performance of SimCode: time 1.343e-06/0.7688, allocations: 0 / 0.9656 GB, free: 216.5 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1029/0.8716, allocations: 94.47 MB / 1.058 GB, free: 148.5 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.322/10.19, allocations: 11.8 kB / 1.058 GB, free: 148.5 MB / 0.7605 GB " [Timeout remaining time 650] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.95915614720434] Failed to read output from testmodel.py, exit status != 0: 10.316988754086196 10.324264466 10.011167422 Calling exit ...