Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.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.001333/0.001333, allocations: 83.83 kB / 19.02 MB, free: 2.719 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.001387/0.001387, allocations: 166.2 kB / 22.26 MB, free: 4.711 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.383/1.383, allocations: 177.2 MB / 202.6 MB, free: 9.277 MB / 190.1 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.002461/0.002461, allocations: 241.4 kB / 259.2 MB, free: 0.5977 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.053/1.053, allocations: 138.5 MB / 454.2 MB, free: 2.094 MB / 366.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: translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [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.003175/0.003175, allocations: 99.83 kB / 0.6466 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4064/0.4095, allocations: 95.34 MB / 0.7397 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.009341/0.4189, allocations: 6.435 MB / 0.746 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006107/0.425, allocations: 2.997 MB / 0.7489 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004163/0.4254, allocations: 39.62 kB / 0.749 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002772/0.4282, allocations: 0.9488 MB / 0.7499 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0012/0.4294, allocations: 0.5246 MB / 0.7504 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.4305, allocations: 430 kB / 0.7508 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001525/0.432, allocations: 1.217 MB / 0.752 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008814/0.4329, allocations: 0.5348 MB / 0.7525 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008236/0.4337, allocations: 0.6816 MB / 0.7532 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006986/0.4344, allocations: 0.5058 MB / 0.7537 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001023/0.4345, allocations: 71.94 kB / 0.7538 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005622/0.4351, allocations: 351.3 kB / 0.7541 GB, free: 488 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000318/0.4354, allocations: 311 kB / 0.7544 GB, free: 176 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004233/0.4358, allocations: 374.4 kB / 0.7547 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001313/0.4371, allocations: 1.226 MB / 0.7559 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.4371, allocations: 0 / 0.7559 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.133e-06/0.4371, allocations: 7.938 kB / 0.7559 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.111e-05/0.4371, allocations: 0 / 0.7559 GB, free: 14.57 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001855/0.439, allocations: 1.1 MB / 0.757 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.439, allocations: 13.34 kB / 0.757 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001502/0.4405, allocations: 248 kB / 0.7573 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009435/0.4415, allocations: 0.5192 MB / 0.7578 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.883e-05/0.4415, allocations: 53.66 kB / 0.7578 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.4416, allocations: 64.36 kB / 0.7579 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001737/0.4434, allocations: 1.336 MB / 0.7592 GB, free: 11 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.298e-05/0.4434, allocations: 11.89 kB / 0.7592 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.016e-05/0.4435, allocations: 31.98 kB / 0.7592 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001629/0.4437, allocations: 93.23 kB / 0.7593 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001214/0.4449, allocations: 0.7465 MB / 0.7601 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004875/0.4497, allocations: 4.527 MB / 0.7645 GB, free: 5.445 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009949/0.4507, allocations: 0.5088 MB / 0.765 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004389/0.4512, allocations: 286.2 kB / 0.7652 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 4.622e-05/0.4512, allocations: 8.5 kB / 0.7653 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.4513, allocations: 39 kB / 0.7653 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=47): time 1.794e-06/0.4513, allocations: 0 / 0.7653 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of matching and sorting (n=48): time 0.003664/0.4549, allocations: 1.685 MB / 0.7669 GB, free: 2.887 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.455, allocations: 55.91 kB / 0.767 GB, free: 2.82 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005737/0.4555, allocations: 0.5066 MB / 0.7675 GB, free: 2.305 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.301e-05/0.4556, allocations: 37.7 kB / 0.7675 GB, free: 2.262 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002985/0.4559, allocations: 423.8 kB / 0.7679 GB, free: 1.84 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001533/0.456, allocations: 182.5 kB / 0.7681 GB, free: 1.66 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002046/0.4562, allocations: 130.6 kB / 0.7682 GB, free: 1.523 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001788/0.4564, allocations: 370.7 kB / 0.7686 GB, free: 1.152 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000431/0.4568, allocations: 273.8 kB / 0.7688 GB, free: 0.8867 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005936/0.4574, allocations: 492.9 kB / 0.7693 GB, free: 316 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.4585, allocations: 0.8204 MB / 0.7701 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.4585, allocations: 0 / 0.7701 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001834/0.4604, allocations: 1.063 MB / 0.7711 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.4604, allocations: 15.94 kB / 0.7712 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.4604, allocations: 8 kB / 0.7712 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008403/0.4612, allocations: 275.1 kB / 0.7714 GB, free: 14 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004778/0.4617, allocations: 127.8 kB / 0.7716 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006873/0.4686, allocations: 6.603 MB / 0.778 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004713/0.4691, allocations: 39.91 kB / 0.778 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.214e-05/0.4691, allocations: 32 kB / 0.7781 GB, free: 6.793 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,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.0003442/0.4695, allocations: 249.6 kB / 0.7783 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.4696, allocations: 71.58 kB / 0.7784 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001616/0.4712, allocations: 0.8777 MB / 0.7792 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.4712, allocations: 4 kB / 0.7792 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.4712, allocations: 4 kB / 0.7792 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.4712, allocations: 3.984 kB / 0.7792 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00252/0.4737, allocations: 1.525 MB / 0.7807 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.4737, allocations: 0 / 0.7807 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002679/0.474, allocations: 60.02 kB / 0.7808 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007529/0.4748, allocations: 275.3 kB / 0.7811 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.169e-05/0.4748, allocations: 11.94 kB / 0.7811 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00672/0.4815, allocations: 6.584 MB / 0.7875 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.4815, allocations: 7.922 kB / 0.7875 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001551/0.4831, allocations: 0.9738 MB / 0.7885 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002533/0.4833, allocations: 111.5 kB / 0.7886 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.57e-05/0.4834, allocations: 15.92 kB / 0.7886 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003566/0.4838, allocations: 27.97 kB / 0.7886 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.719e-05/0.4839, allocations: 47.86 kB / 0.7886 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.052e-05/0.4839, allocations: 12 kB / 0.7887 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003942/0.4843, allocations: 346.8 kB / 0.789 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4843, allocations: 3.938 kB / 0.789 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007624/0.485, allocations: 224 kB / 0.7892 GB, free: 10.83 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,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.0001521/0.4852, allocations: 107.2 kB / 0.7893 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001952/0.4872, allocations: 1.225 MB / 0.7905 GB, free: 9.441 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.131e-05/0.4872, allocations: 4 kB / 0.7905 GB, free: 9.438 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001261/0.4884, allocations: 0.8658 MB / 0.7914 GB, free: 8.52 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009183/0.4893, allocations: 213.9 kB / 0.7916 GB, free: 8.32 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002111/0.4915, allocations: 1.361 MB / 0.7929 GB, free: 6.91 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004569/0.4919, allocations: 415.3 kB / 0.7933 GB, free: 6.477 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003316/0.4922, allocations: 121.4 kB / 0.7934 GB, free: 6.355 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.4923, allocations: 40.5 kB / 0.7934 GB, free: 6.316 MB / 0.6231 GB Notification: Performance of SimCode: time 5.01e-07/0.4924, allocations: 0 / 0.7934 GB, free: 6.316 MB / 0.6231 GB Notification: Performance of Templates: time 0.02024/0.5126, allocations: 11.32 MB / 0.8045 GB, free: 11.25 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.226803680881858] Failed to read output from testmodel.py, exit status != 0: 0.521947456523776 0.538077652 0.09780896500000001 Calling exit ...