Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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.001915/0.001915, allocations: 89.47 kB / 19.44 MB, free: 340 kB / 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.002034/0.002034, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.551/1.551, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 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.00323/0.00323, allocations: 244.3 kB / 259.8 MB, free: 12.84 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 1.182/1.182, allocations: 138.4 MB / 454.7 MB, free: 1.477 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.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.5543 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.727e-05/2.904e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.004377/0.004406, allocations: 2.457 MB / 0.5567 GB, free: 14.38 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003108/0.007514, allocations: 1.59 MB / 0.5583 GB, free: 12.78 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.007619, allocations: 7.938 kB / 0.5583 GB, free: 12.77 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007389/0.008358, allocations: 179.2 kB / 0.5585 GB, free: 12.59 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004658/0.008824, allocations: 167 kB / 0.5586 GB, free: 12.43 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004967/0.00932, allocations: 179.4 kB / 0.5588 GB, free: 12.25 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003359/0.009656, allocations: 227.2 kB / 0.559 GB, free: 12.03 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002947/0.009951, allocations: 101.1 kB / 0.5591 GB, free: 11.93 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002642/0.01022, allocations: 123.7 kB / 0.5592 GB, free: 11.81 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002356/0.01045, allocations: 95.73 kB / 0.5593 GB, free: 11.72 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.977e-05/0.01049, allocations: 19.94 kB / 0.5593 GB, free: 11.7 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004249/0.01092, allocations: 199.5 kB / 0.5595 GB, free: 11.5 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.01103, allocations: 63.81 kB / 0.5596 GB, free: 11.44 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.01113, allocations: 55.84 kB / 0.5596 GB, free: 11.39 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005413/0.01168, allocations: 319 kB / 0.5599 GB, free: 11.07 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.01168, allocations: 0 / 0.5599 GB, free: 11.07 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.01168, allocations: 0 / 0.5599 GB, free: 11.07 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.01169, allocations: 0 / 0.5599 GB, free: 11.07 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007892/0.01248, allocations: 0.519 MB / 0.5604 GB, free: 10.52 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.01252, allocations: 8.75 kB / 0.5605 GB, free: 10.51 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008421/0.01336, allocations: 116.7 kB / 0.5606 GB, free: 10.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003443/0.0137, allocations: 180.3 kB / 0.5607 GB, free: 10.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.01372, allocations: 8.656 kB / 0.5607 GB, free: 10.19 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.226e-05/0.01376, allocations: 16.36 kB / 0.5608 GB, free: 10.17 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005045/0.01427, allocations: 275.4 kB / 0.561 GB, free: 9.852 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.01429, allocations: 4.172 kB / 0.561 GB, free: 9.848 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.905e-05/0.01432, allocations: 11.94 kB / 0.561 GB, free: 9.836 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.525e-05/0.01436, allocations: 20.23 kB / 0.5611 GB, free: 9.812 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003504/0.01471, allocations: 124.5 kB / 0.5612 GB, free: 9.691 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002299/0.01701, allocations: 1.64 MB / 0.5628 GB, free: 7.977 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003328/0.01734, allocations: 122.1 kB / 0.5629 GB, free: 7.832 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.736e-05/0.01743, allocations: 39.52 kB / 0.5629 GB, free: 7.785 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.01745, allocations: 0 / 0.5629 GB, free: 7.785 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.01749, allocations: 41.33 kB / 0.563 GB, free: 7.734 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 8.82e-07/0.01749, allocations: 0 / 0.563 GB, free: 7.734 MB / 490.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005536/0.01804, allocations: 173.2 kB / 0.5631 GB, free: 7.559 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.226e-05/0.01811, allocations: 81.11 kB / 0.5632 GB, free: 7.461 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003192/0.01843, allocations: 265.8 kB / 0.5635 GB, free: 7.184 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.01846, allocations: 29.89 kB / 0.5635 GB, free: 7.148 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.01862, allocations: 210.7 kB / 0.5637 GB, free: 6.938 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.463e-05/0.01866, allocations: 43.69 kB / 0.5637 GB, free: 6.895 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.01878, allocations: 63.3 kB / 0.5638 GB, free: 6.824 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002756/0.01906, allocations: 0.504 MB / 0.5643 GB, free: 6.309 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.0192, allocations: 43.67 kB / 0.5643 GB, free: 6.262 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002436/0.01944, allocations: 171.8 kB / 0.5645 GB, free: 6.039 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003549/0.01979, allocations: 211.8 kB / 0.5647 GB, free: 5.777 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.0198, allocations: 0 / 0.5647 GB, free: 5.777 MB / 490.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004881/0.02028, allocations: 229.1 kB / 0.5649 GB, free: 5.547 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.0203, allocations: 4 kB / 0.5649 GB, free: 5.543 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.02031, allocations: 4 kB / 0.5649 GB, free: 5.539 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.02033, allocations: 4 kB / 0.5649 GB, free: 5.535 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002875/0.02062, allocations: 52.28 kB / 0.565 GB, free: 5.484 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.02063, allocations: 8 kB / 0.565 GB, free: 5.477 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002303/0.02086, allocations: 19.97 kB / 0.565 GB, free: 5.457 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.733e-05/0.02088, allocations: 19.88 kB / 0.565 GB, free: 5.438 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000211/0.0211, allocations: 166.9 kB / 0.5652 GB, free: 5.27 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002458/0.02134, allocations: 175.5 kB / 0.5654 GB, free: 5.039 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003346/0.02168, allocations: 207.4 kB / 0.5656 GB, free: 4.777 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.913e-06/0.02168, allocations: 4 kB / 0.5656 GB, free: 4.773 MB / 490.7 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004395/0.02212, allocations: 209.2 kB / 0.5658 GB, free: 4.562 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.02213, allocations: 8 kB / 0.5658 GB, free: 4.555 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.875e-06/0.02214, allocations: 0 / 0.5658 GB, free: 4.555 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.352e-06/0.02214, allocations: 4.406 kB / 0.5658 GB, free: 4.551 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002168/0.02236, allocations: 55.91 kB / 0.5658 GB, free: 4.496 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.02237, allocations: 4 kB / 0.5658 GB, free: 4.492 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002061/0.02257, allocations: 19.92 kB / 0.5658 GB, free: 4.473 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/0.02259, allocations: 11.98 kB / 0.5659 GB, free: 4.461 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001906/0.02278, allocations: 284 kB / 0.5661 GB, free: 4.176 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.983e-05/0.02285, allocations: 19.91 kB / 0.5661 GB, free: 4.156 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000254/0.02311, allocations: 99.05 kB / 0.5662 GB, free: 4.047 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.02311, allocations: 0 / 0.5662 GB, free: 4.047 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.02312, allocations: 4.125 kB / 0.5662 GB, free: 4.043 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.02312, allocations: 4 kB / 0.5662 GB, free: 4.039 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/0.02418, allocations: 0.6692 MB / 0.5669 GB, free: 3.289 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.02419, allocations: 4 kB / 0.5669 GB, free: 3.285 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001299/0.02432, allocations: 27.86 kB / 0.5669 GB, free: 3.258 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.02432, allocations: 4 kB / 0.5669 GB, free: 3.254 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.02434, allocations: 4.344 kB / 0.5669 GB, free: 3.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.02434, allocations: 8 kB / 0.5669 GB, free: 3.242 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.02435, allocations: 4 kB / 0.567 GB, free: 3.238 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004435/0.02479, allocations: 452.1 kB / 0.5674 GB, free: 2.738 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.56e-05/0.02488, allocations: 31.86 kB / 0.5674 GB, free: 2.707 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.027e-05/0.02492, allocations: 15.92 kB / 0.5674 GB, free: 2.691 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001996/0.02512, allocations: 8 kB / 0.5674 GB, free: 2.684 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.02515, allocations: 7.984 kB / 0.5674 GB, free: 2.676 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.02517, allocations: 12 kB / 0.5675 GB, free: 2.664 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002224/0.02539, allocations: 192.1 kB / 0.5676 GB, free: 2.477 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02539, allocations: 0 / 0.5676 GB, free: 2.477 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005411/0.02593, allocations: 72 kB / 0.5677 GB, free: 2.406 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001858/0.02612, allocations: 107.1 kB / 0.5678 GB, free: 2.293 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0006652/0.02678, allocations: 222.9 kB / 0.568 GB, free: 2.07 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.02679, allocations: 4 kB / 0.568 GB, free: 2.066 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.139e-05/0.02687, allocations: 45.81 kB / 0.5681 GB, free: 2.02 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005025/0.02737, allocations: 32.95 kB / 0.5681 GB, free: 1.988 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008115/0.02818, allocations: 409.3 kB / 0.5685 GB, free: 1.516 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001672/0.02835, allocations: 127.9 kB / 0.5686 GB, free: 1.371 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000218/0.02857, allocations: 61.41 kB / 0.5687 GB, free: 1.312 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.793e-05/0.02864, allocations: 20.5 kB / 0.5687 GB, free: 1.293 MB / 490.7 MB Notification: Performance of SimCode: time 6.82e-07/0.02864, allocations: 0 / 0.5687 GB, free: 1.293 MB / 490.7 MB Notification: Performance of Templates: time 0.006154/0.03479, allocations: 1.922 MB / 0.5706 GB, free: 15.41 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.8677713689394295]