Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.001139/0.001139, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001258/0.001258, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.9597/0.9597, allocations: 177.1 MB / 203.7 MB, free: 5.488 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.001642/0.001642, allocations: 241.2 kB / 260.5 MB, free: 12.64 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.7608/0.7608, allocations: 138.4 MB / 455.5 MB, free: 1.371 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.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.5556 GB, free: 224 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.957e-05/2.12e-05, allocations: 5.406 kB / 0.5556 GB, free: 220 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003588/0.003609, allocations: 2.631 MB / 0.5582 GB, free: 13.57 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00182/0.005429, allocations: 1.469 MB / 0.5596 GB, free: 12.09 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.005546, allocations: 7.938 kB / 0.5596 GB, free: 12.08 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004026/0.005948, allocations: 99.38 kB / 0.5597 GB, free: 11.98 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002842/0.006232, allocations: 202.8 kB / 0.5599 GB, free: 11.78 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003465/0.006579, allocations: 263.3 kB / 0.5602 GB, free: 11.52 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000324/0.006903, allocations: 422.5 kB / 0.5606 GB, free: 11.11 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002302/0.007133, allocations: 172.2 kB / 0.5607 GB, free: 10.95 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000244/0.007377, allocations: 223.5 kB / 0.5609 GB, free: 10.73 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002543/0.007631, allocations: 187.5 kB / 0.5611 GB, free: 10.54 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.3e-05/0.007664, allocations: 24 kB / 0.5611 GB, free: 10.52 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002031/0.007867, allocations: 171.6 kB / 0.5613 GB, free: 10.35 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 9.641e-05/0.007964, allocations: 127.7 kB / 0.5614 GB, free: 10.23 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 7.904e-05/0.008043, allocations: 103.7 kB / 0.5615 GB, free: 10.12 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003334/0.008376, allocations: 358.8 kB / 0.5619 GB, free: 9.773 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.00838, allocations: 4 kB / 0.5619 GB, free: 9.77 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.008381, allocations: 0 / 0.5619 GB, free: 9.77 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.008386, allocations: 0 / 0.5619 GB, free: 9.77 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0006385/0.009024, allocations: 0.6243 MB / 0.5625 GB, free: 9.109 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.009061, allocations: 12.75 kB / 0.5625 GB, free: 9.098 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000534/0.009595, allocations: 144.5 kB / 0.5626 GB, free: 8.957 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002193/0.009815, allocations: 212.8 kB / 0.5628 GB, free: 8.719 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.009833, allocations: 20.88 kB / 0.5629 GB, free: 8.695 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.447e-05/0.009917, allocations: 44.66 kB / 0.5629 GB, free: 8.652 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003492/0.01027, allocations: 397.2 kB / 0.5633 GB, free: 8.195 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.01028, allocations: 8.125 kB / 0.5633 GB, free: 8.188 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.183e-05/0.0103, allocations: 15.94 kB / 0.5633 GB, free: 8.172 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-05/0.01038, allocations: 40.47 kB / 0.5633 GB, free: 8.133 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000166/0.01055, allocations: 127.3 kB / 0.5635 GB, free: 8.004 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00154/0.01209, allocations: 1.772 MB / 0.5652 GB, free: 6.168 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.01226, allocations: 134.8 kB / 0.5653 GB, free: 6.023 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.99e-05/0.01232, allocations: 58.47 kB / 0.5654 GB, free: 5.965 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.01233, allocations: 4 kB / 0.5654 GB, free: 5.961 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.01236, allocations: 37.39 kB / 0.5654 GB, free: 5.914 MB / 490.7 MB Notification: Performance of pre-optimization done (n=22): time 1.392e-06/0.01236, allocations: 0 / 0.5654 GB, free: 5.914 MB / 490.7 MB Notification: Performance of matching and sorting (n=23): time 0.0007364/0.0131, allocations: 498.6 kB / 0.5659 GB, free: 5.391 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/0.01312, allocations: 51.41 kB / 0.5659 GB, free: 5.328 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.01329, allocations: 293.4 kB / 0.5662 GB, free: 5.023 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.01331, allocations: 29.7 kB / 0.5663 GB, free: 4.988 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.662e-05/0.0134, allocations: 243 kB / 0.5665 GB, free: 4.746 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.589e-05/0.01345, allocations: 95.23 kB / 0.5666 GB, free: 4.652 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.11e-05/0.01354, allocations: 83.27 kB / 0.5667 GB, free: 4.562 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.01366, allocations: 0.5079 MB / 0.5672 GB, free: 4.043 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.533e-05/0.01372, allocations: 43.97 kB / 0.5672 GB, free: 4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.01384, allocations: 166.2 kB / 0.5674 GB, free: 3.793 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001907/0.01403, allocations: 230.1 kB / 0.5676 GB, free: 3.523 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.01403, allocations: 0 / 0.5676 GB, free: 3.523 MB / 490.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004729/0.01451, allocations: 369.8 kB / 0.5679 GB, free: 3.152 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.01452, allocations: 7.938 kB / 0.5679 GB, free: 3.145 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.01453, allocations: 4 kB / 0.5679 GB, free: 3.141 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005109/0.01504, allocations: 183.5 kB / 0.5681 GB, free: 2.957 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.01518, allocations: 51.91 kB / 0.5682 GB, free: 2.906 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001374/0.01655, allocations: 2.141 MB / 0.5702 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.0167, allocations: 19.94 kB / 0.5703 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/0.01672, allocations: 15.97 kB / 0.5703 GB, free: 0.6172 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (32): * Single equations (assignments): 31 * 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 {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.886e-05/0.01681, allocations: 180.5 kB / 0.5705 GB, free: 440 kB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.01686, allocations: 23.91 kB / 0.5705 GB, free: 416 kB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002084/0.01706, allocations: 193 kB / 0.5707 GB, free: 216 kB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.01707, allocations: 4 kB / 0.5707 GB, free: 212 kB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.01707, allocations: 4 kB / 0.5707 GB, free: 208 kB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.01707, allocations: 0 / 0.5707 GB, free: 208 kB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004737/0.01755, allocations: 0.5075 MB / 0.5712 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.01755, allocations: 4.062 kB / 0.5712 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001854/0.01773, allocations: 63.95 kB / 0.5712 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.01774, allocations: 7.938 kB / 0.5712 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.01775, allocations: 7.984 kB / 0.5712 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.01775, allocations: 4 kB / 0.5712 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.01775, allocations: 0 / 0.5712 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005376/0.01829, allocations: 397.1 kB / 0.5716 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.891e-05/0.01835, allocations: 39.83 kB / 0.5717 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.01837, allocations: 8 kB / 0.5717 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.968e-05/0.01847, allocations: 11.98 kB / 0.5717 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.481e-05/0.0185, allocations: 15.92 kB / 0.5717 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.01851, allocations: 11.98 kB / 0.5717 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.51e-05/0.0186, allocations: 182.2 kB / 0.5719 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.0186, allocations: 0 / 0.5719 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002622/0.01886, allocations: 88 kB / 0.572 GB, free: 14.81 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * 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 (24): * Single equations (assignments): 24 * 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.0001272/0.01898, allocations: 119.1 kB / 0.5721 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004229/0.01941, allocations: 417 kB / 0.5725 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.01941, allocations: 0 / 0.5725 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.007e-05/0.01948, allocations: 79.5 kB / 0.5726 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/0.01975, allocations: 53.47 kB / 0.5726 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.02076, allocations: 0.7048 MB / 0.5733 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.544e-05/0.02082, allocations: 116.3 kB / 0.5734 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.603e-05/0.02092, allocations: 34.28 kB / 0.5734 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.02105, allocations: 114.2 kB / 0.5735 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of SimCode: time 8.32e-07/0.02105, allocations: 0 / 0.5735 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of Templates: time 0.006064/0.02711, allocations: 4.442 MB / 0.5779 GB, free: 8.699 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.488217552192509]