Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.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.001514/0.001514, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001828/0.001828, allocations: 173 kB / 23.49 MB, free: 1.059 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.9561/0.9561, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.00171/0.00171, allocations: 245.7 kB / 260.5 MB, free: 12.88 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.6923/0.6923, allocations: 138.4 MB / 455.4 MB, free: 1.566 MB / 362.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: translateModel(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource") translateModel(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 0.555 GB, free: 0.9375 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.717e-05/1.869e-05, allocations: 5.828 kB / 0.555 GB, free: 0.9336 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource): time 0.003167/0.003186, allocations: 3.309 MB / 0.5582 GB, free: 13.61 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001423/0.004609, allocations: 1.426 MB / 0.5596 GB, free: 12.17 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.004711, allocations: 11.94 kB / 0.5596 GB, free: 12.16 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005919/0.005303, allocations: 338.6 kB / 0.56 GB, free: 11.83 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002196/0.005522, allocations: 159 kB / 0.5601 GB, free: 11.67 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002142/0.005737, allocations: 163.4 kB / 0.5603 GB, free: 11.51 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002601/0.005997, allocations: 342.7 kB / 0.5606 GB, free: 11.18 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005012/0.006498, allocations: 200 kB / 0.5608 GB, free: 10.98 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002013/0.006699, allocations: 203.4 kB / 0.561 GB, free: 10.78 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001793/0.006879, allocations: 135.6 kB / 0.5611 GB, free: 10.65 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.716e-05/0.006906, allocations: 20 kB / 0.5611 GB, free: 10.63 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001631/0.007069, allocations: 163.5 kB / 0.5613 GB, free: 10.47 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 7.334e-05/0.007142, allocations: 99.73 kB / 0.5614 GB, free: 10.37 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.945e-05/0.007212, allocations: 79.83 kB / 0.5615 GB, free: 10.29 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002745/0.007486, allocations: 283 kB / 0.5617 GB, free: 10.02 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.007488, allocations: 4 kB / 0.5617 GB, free: 10.01 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.007489, allocations: 0 / 0.5617 GB, free: 10.01 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.007493, allocations: 0 / 0.5617 GB, free: 10.01 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0005593/0.008052, allocations: 0.5817 MB / 0.5623 GB, free: 9.391 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.008087, allocations: 8.75 kB / 0.5623 GB, free: 9.383 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004524/0.008539, allocations: 128.6 kB / 0.5624 GB, free: 9.258 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002069/0.008746, allocations: 201.6 kB / 0.5626 GB, free: 9.031 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.008761, allocations: 20.86 kB / 0.5626 GB, free: 9.012 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.468e-05/0.008786, allocations: 20.36 kB / 0.5627 GB, free: 8.992 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000295/0.009081, allocations: 324.5 kB / 0.563 GB, free: 8.621 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.009091, allocations: 8.125 kB / 0.563 GB, free: 8.613 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/0.009109, allocations: 4.375 kB / 0.563 GB, free: 8.609 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.037e-05/0.009139, allocations: 28.44 kB / 0.563 GB, free: 8.582 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000135/0.009274, allocations: 86.88 kB / 0.5631 GB, free: 8.5 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008337/0.01011, allocations: 1.27 MB / 0.5643 GB, free: 7.16 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002273/0.01034, allocations: 99.09 kB / 0.5644 GB, free: 7.051 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.664e-05/0.01037, allocations: 27.66 kB / 0.5645 GB, free: 7.02 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.01038, allocations: 7.938 kB / 0.5645 GB, free: 7.012 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.0104, allocations: 37.39 kB / 0.5645 GB, free: 6.965 MB / 490.7 MB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.01041, allocations: 0 / 0.5645 GB, free: 6.965 MB / 490.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002696/0.01067, allocations: 125.2 kB / 0.5646 GB, free: 6.832 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.982e-05/0.01069, allocations: 51.41 kB / 0.5647 GB, free: 6.77 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.01083, allocations: 249.5 kB / 0.5649 GB, free: 6.508 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.01084, allocations: 33.7 kB / 0.5649 GB, free: 6.469 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.081e-05/0.01092, allocations: 226.8 kB / 0.5652 GB, free: 6.242 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.765e-05/0.01094, allocations: 31.73 kB / 0.5652 GB, free: 6.211 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.735e-05/0.01098, allocations: 47.31 kB / 0.5652 GB, free: 6.156 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.812e-05/0.01108, allocations: 0.4923 MB / 0.5657 GB, free: 5.652 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.422e-05/0.01112, allocations: 19.98 kB / 0.5657 GB, free: 5.633 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.681e-05/0.01118, allocations: 108.8 kB / 0.5658 GB, free: 5.484 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/0.01129, allocations: 152.7 kB / 0.566 GB, free: 5.293 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.0113, allocations: 0 / 0.566 GB, free: 5.293 MB / 490.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001786/0.01148, allocations: 165.2 kB / 0.5661 GB, free: 5.121 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.01149, allocations: 12.03 kB / 0.5662 GB, free: 5.109 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.01149, allocations: 4 kB / 0.5662 GB, free: 5.105 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001492/0.01164, allocations: 31.66 kB / 0.5662 GB, free: 5.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.195e-05/0.01171, allocations: 31.92 kB / 0.5662 GB, free: 5.039 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009132/0.01263, allocations: 1.743 MB / 0.5679 GB, free: 3.168 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.391e-05/0.01269, allocations: 11.89 kB / 0.5679 GB, free: 3.156 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.0127, allocations: 12 kB / 0.5679 GB, free: 3.145 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.986e-05/0.01278, allocations: 168.5 kB / 0.5681 GB, free: 2.969 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.443e-05/0.01281, allocations: 15.91 kB / 0.5681 GB, free: 2.953 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.882e-05/0.01282, allocations: 21.41 kB / 0.5681 GB, free: 2.93 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.01283, allocations: 7.938 kB / 0.5681 GB, free: 2.922 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.01283, allocations: 4.062 kB / 0.5682 GB, free: 2.918 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.01283, allocations: 0 / 0.5682 GB, free: 2.918 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003289/0.01316, allocations: 420.9 kB / 0.5686 GB, free: 2.461 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.01316, allocations: 0 / 0.5686 GB, free: 2.461 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.262e-05/0.01319, allocations: 12.06 kB / 0.5686 GB, free: 2.449 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.53e-05/0.01329, allocations: 35.66 kB / 0.5686 GB, free: 2.41 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.01329, allocations: 4 kB / 0.5686 GB, free: 2.406 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005831/0.01388, allocations: 1.732 MB / 0.5703 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.01388, allocations: 3.938 kB / 0.5703 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001432/0.01402, allocations: 251.4 kB / 0.5705 GB, free: 288 kB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.064e-05/0.01405, allocations: 23.89 kB / 0.5706 GB, free: 264 kB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.101e-05/0.01406, allocations: 3.938 kB / 0.5706 GB, free: 260 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.072e-05/0.01412, allocations: 12.11 kB / 0.5706 GB, free: 248 kB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.167e-05/0.01416, allocations: 11.98 kB / 0.5706 GB, free: 236 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.01416, allocations: 0 / 0.5706 GB, free: 236 kB / 490.7 MB Notification: Performance of sorting global known variables: time 7.153e-05/0.01423, allocations: 176.2 kB / 0.5708 GB, free: 60 kB / 490.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01423, allocations: 0 / 0.5708 GB, free: 60 kB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002142/0.01445, allocations: 59.91 kB / 0.5708 GB, free: 16 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 6.899e-05/0.01452, allocations: 99.23 kB / 0.5709 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002488/0.01476, allocations: 251.5 kB / 0.5711 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.01477, allocations: 4 kB / 0.5711 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.01487, allocations: 201.5 kB / 0.5713 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/0.01511, allocations: 32.19 kB / 0.5714 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006507/0.01576, allocations: 387.2 kB / 0.5717 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.029e-05/0.01581, allocations: 91.95 kB / 0.5718 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.57e-05/0.01587, allocations: 29.45 kB / 0.5719 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.191e-05/0.01591, allocations: 16.5 kB / 0.5719 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of SimCode: time 6.31e-07/0.01591, allocations: 0 / 0.5719 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of Templates: time 0.003478/0.01938, allocations: 1.874 MB / 0.5737 GB, free: 12.99 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.590509101981297]