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.001222/0.001222, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009521/0.0009521, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.9343/0.9343, allocations: 177.2 MB / 203.8 MB, free: 5.473 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.001586/0.001586, allocations: 245.8 kB / 260.5 MB, free: 12.69 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.718/0.718, allocations: 138.4 MB / 402.2 MB, free: 0.543 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.643e-06/1.643e-06, allocations: 0 / 462.3 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.556e-05/1.72e-05, allocations: 4.766 kB / 462.3 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.00391/0.003928, allocations: 2.659 MB / 465 MB, free: 15.24 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002815/0.006743, allocations: 1.489 MB / 466.5 MB, free: 14.29 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001869/0.00693, allocations: 7.781 kB / 466.5 MB, free: 14.29 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005144/0.007444, allocations: 109.3 kB / 466.6 MB, free: 14.23 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005469/0.007991, allocations: 197.9 kB / 466.8 MB, free: 14.11 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007081/0.008699, allocations: 265.9 kB / 467 MB, free: 13.91 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005445/0.009244, allocations: 420.6 kB / 467.4 MB, free: 13.53 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002996/0.009543, allocations: 170.3 kB / 467.6 MB, free: 13.37 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003481/0.009891, allocations: 233.1 kB / 467.8 MB, free: 13.14 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003523/0.01024, allocations: 183.5 kB / 468 MB, free: 12.96 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.421e-05/0.01029, allocations: 24 kB / 468 MB, free: 12.94 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000318/0.01061, allocations: 167.7 kB / 468.2 MB, free: 12.77 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001371/0.01074, allocations: 129.7 kB / 468.3 MB, free: 12.65 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.01086, allocations: 103.8 kB / 468.4 MB, free: 12.55 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005111/0.01137, allocations: 358.8 kB / 468.8 MB, free: 12.2 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.01137, allocations: 0 / 468.8 MB, free: 12.2 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.01137, allocations: 0 / 468.8 MB, free: 12.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.01138, allocations: 0.5625 kB / 468.8 MB, free: 12.2 MB / 426.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.0007793/0.01216, allocations: 499.6 kB / 469.3 MB, free: 11.69 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.01219, allocations: 17.28 kB / 469.3 MB, free: 11.68 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000782/0.01297, allocations: 142.2 kB / 469.4 MB, free: 11.54 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003102/0.01328, allocations: 207.4 kB / 469.6 MB, free: 11.31 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.01331, allocations: 20.86 kB / 469.6 MB, free: 11.29 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.01341, allocations: 41.69 kB / 469.7 MB, free: 11.25 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004757/0.01389, allocations: 381.3 kB / 470.1 MB, free: 10.83 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.0139, allocations: 1.188 kB / 470.1 MB, free: 10.83 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.094e-05/0.01393, allocations: 11.94 kB / 470.1 MB, free: 10.82 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001076/0.01404, allocations: 37.56 kB / 470.1 MB, free: 10.78 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002306/0.01427, allocations: 113.5 kB / 470.2 MB, free: 10.68 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00154/0.01581, allocations: 1.294 MB / 471.5 MB, free: 9.344 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002388/0.01605, allocations: 161.5 kB / 471.7 MB, free: 9.176 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.63e-05/0.01614, allocations: 52.77 kB / 471.7 MB, free: 9.121 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.01616, allocations: 4 kB / 471.7 MB, free: 9.117 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.01619, allocations: 38.56 kB / 471.8 MB, free: 9.07 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 1.683e-06/0.01619, allocations: 1 kB / 471.8 MB, free: 9.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=23): time 0.001038/0.01723, allocations: 434.9 kB / 472.2 MB, free: 8.617 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.01726, allocations: 60.58 kB / 472.3 MB, free: 8.547 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002057/0.01747, allocations: 220.6 kB / 472.5 MB, free: 8.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.01749, allocations: 29.7 kB / 472.5 MB, free: 8.285 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.01759, allocations: 184.2 kB / 472.7 MB, free: 8.102 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.79e-05/0.01766, allocations: 95.2 kB / 472.8 MB, free: 8.008 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.01777, allocations: 69.61 kB / 472.8 MB, free: 7.934 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.469e-05/0.01787, allocations: 335.8 kB / 473.2 MB, free: 7.598 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.852e-05/0.01795, allocations: 44.69 kB / 473.2 MB, free: 7.555 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/0.01809, allocations: 128.5 kB / 473.3 MB, free: 7.402 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002601/0.01835, allocations: 197 kB / 473.5 MB, free: 7.18 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.01836, allocations: 0 / 473.5 MB, free: 7.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006024/0.01896, allocations: 297.2 kB / 473.8 MB, free: 6.883 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.01897, allocations: 4 kB / 473.8 MB, free: 6.879 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.01898, allocations: 8.688 kB / 473.8 MB, free: 6.871 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007482/0.01973, allocations: 185.6 kB / 474 MB, free: 6.695 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000215/0.01995, allocations: 66.75 kB / 474.1 MB, free: 6.633 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001545/0.02149, allocations: 1.563 MB / 475.6 MB, free: 4.977 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001837/0.02167, allocations: 12 kB / 475.6 MB, free: 4.965 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.755e-05/0.0217, allocations: 11.98 kB / 475.7 MB, free: 4.953 MB / 426.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 0.0001115/0.02181, allocations: 137.2 kB / 475.8 MB, free: 4.809 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.809e-05/0.02185, allocations: 20.48 kB / 475.8 MB, free: 4.789 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000193/0.02204, allocations: 162.5 kB / 476 MB, free: 4.629 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.02205, allocations: 0.8438 kB / 476 MB, free: 4.629 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.02205, allocations: 0 / 476 MB, free: 4.629 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.02205, allocations: 0.75 kB / 476 MB, free: 4.629 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004073/0.02246, allocations: 450 kB / 476.4 MB, free: 4.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.02246, allocations: 0 / 476.4 MB, free: 4.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002728/0.02273, allocations: 98.72 kB / 476.5 MB, free: 4.066 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.02274, allocations: 4 kB / 476.5 MB, free: 4.062 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.02275, allocations: 7.922 kB / 476.5 MB, free: 4.055 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.02275, allocations: 5.359 kB / 476.5 MB, free: 4.051 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.02275, allocations: 3.938 kB / 476.5 MB, free: 4.047 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002521/0.02301, allocations: 344.4 kB / 476.9 MB, free: 3.691 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.782e-05/0.02306, allocations: 50.66 kB / 476.9 MB, free: 3.645 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.56e-05/0.02309, allocations: 11.98 kB / 476.9 MB, free: 3.633 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.292e-05/0.02318, allocations: 4 kB / 476.9 MB, free: 3.629 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.441e-05/0.02321, allocations: 17.12 kB / 477 MB, free: 3.613 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/0.02322, allocations: 8 kB / 477 MB, free: 3.605 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.779e-05/0.02327, allocations: 62.61 kB / 477 MB, free: 3.539 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02327, allocations: 0 / 477 MB, free: 3.539 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002268/0.0235, allocations: 92 kB / 477.1 MB, free: 3.449 MB / 426.7 MB 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.0001088/0.02361, allocations: 93.75 kB / 477.2 MB, free: 3.352 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003831/0.02399, allocations: 340.7 kB / 477.5 MB, free: 3.012 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.024, allocations: 4.562 kB / 477.5 MB, free: 3.008 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.773e-05/0.02407, allocations: 73.31 kB / 477.6 MB, free: 2.934 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.02429, allocations: 57.17 kB / 477.7 MB, free: 2.887 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009193/0.02521, allocations: 0.637 MB / 478.3 MB, free: 2.242 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.524e-05/0.02527, allocations: 113.3 kB / 478.4 MB, free: 2.113 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.652e-05/0.02537, allocations: 29.44 kB / 478.4 MB, free: 2.09 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.0255, allocations: 99.97 kB / 478.5 MB, free: 1.992 MB / 426.7 MB Notification: Performance of SimCode: time 6.91e-07/0.0255, allocations: 0 / 478.5 MB, free: 1.992 MB / 426.7 MB Notification: Performance of Templates: time 0.006072/0.03157, allocations: 4.464 MB / 483 MB, free: 13.82 MB / 442.7 MB " [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.4083966612815857]