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.0007181/0.0007181, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009741/0.001692, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.00104/0.00104, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001333/0.002374, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9188/0.9188, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07506/0.9939, allocations: 53.65 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00126/0.00126, allocations: 241.7 kB / 244.2 MB, free: 14.62 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001179/0.002439, allocations: 467.5 kB / 244.7 MB, free: 14.16 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6525/0.6525, allocations: 138.7 MB / 384.1 MB, free: 500 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06278/0.7152, allocations: 42.41 MB / 426.5 MB, free: 5.938 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.423e-06/1.423e-06, allocations: 0 / 427.8 MB, free: 4.645 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.862e-05/2.004e-05, allocations: 6.25 kB / 427.8 MB, free: 4.637 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.007526/0.007546, allocations: 2.736 MB / 430.5 MB, free: 1.883 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005823/0.01337, allocations: 1.496 MB / 432 MB, free: 384 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001766/0.01355, allocations: 7.938 kB / 432 MB, free: 376 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004263/0.01397, allocations: 119.3 kB / 432.1 MB, free: 256 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004216/0.01439, allocations: 222.7 kB / 432.4 MB, free: 32 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1853/0.1997, allocations: 245.7 kB / 432.6 MB, free: 1.172 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007711/0.2004, allocations: 448.8 kB / 433 MB, free: 1.156 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003185/0.2008, allocations: 162.2 kB / 433.2 MB, free: 1.145 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003805/0.2011, allocations: 252 kB / 433.4 MB, free: 1.125 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003434/0.2015, allocations: 200.7 kB / 433.6 MB, free: 1.109 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.505e-05/0.2015, allocations: 23.91 kB / 433.7 MB, free: 1.109 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003354/0.2019, allocations: 178.3 kB / 433.8 MB, free: 1.105 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.202, allocations: 111.6 kB / 433.9 MB, free: 1.094 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.56e-05/0.202, allocations: 85.88 kB / 434 MB, free: 1.082 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004322/0.2025, allocations: 319.8 kB / 434.3 MB, free: 1.059 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.538e-05/0.2025, allocations: 0.5625 kB / 434.3 MB, free: 1.059 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2025, allocations: 4.469 kB / 434.3 MB, free: 1.055 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.559e-05/0.2025, allocations: 2.281 kB / 434.3 MB, free: 1.055 MB / 410.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.0007504/0.2033, allocations: 0.5621 MB / 434.9 MB, free: 16.73 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.953e-05/0.2033, allocations: 10.09 kB / 434.9 MB, free: 16.73 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005836/0.2039, allocations: 219.3 kB / 435.1 MB, free: 16.62 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.2041, allocations: 207.6 kB / 435.3 MB, free: 16.47 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.2041, allocations: 21.47 kB / 435.4 MB, free: 16.47 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.268e-05/0.2042, allocations: 35.16 kB / 435.4 MB, free: 16.47 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003727/0.2046, allocations: 376.2 kB / 435.8 MB, free: 16.26 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.2046, allocations: 1.562 kB / 435.8 MB, free: 16.26 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.375e-05/0.2046, allocations: 19.59 kB / 435.8 MB, free: 16.25 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-05/0.2047, allocations: 40.03 kB / 435.8 MB, free: 16.25 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001736/0.2049, allocations: 106.8 kB / 435.9 MB, free: 16.25 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/0.206, allocations: 1.292 MB / 437.2 MB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001782/0.2062, allocations: 166.6 kB / 437.4 MB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.797e-05/0.2063, allocations: 51.97 kB / 437.4 MB, free: 15.31 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.2063, allocations: 4.219 kB / 437.4 MB, free: 15.31 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.725e-05/0.2063, allocations: 37.34 kB / 437.5 MB, free: 15.27 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 1.683e-06/0.2063, allocations: 0 / 437.5 MB, free: 15.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=23): time 0.0007802/0.2071, allocations: 441 kB / 437.9 MB, free: 15.09 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/0.2071, allocations: 56.22 kB / 438 MB, free: 15.03 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.2073, allocations: 220.3 kB / 438.2 MB, free: 14.91 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.2073, allocations: 31.23 kB / 438.2 MB, free: 14.88 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.528e-05/0.2073, allocations: 191.2 kB / 438.4 MB, free: 14.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.345e-05/0.2074, allocations: 93.34 kB / 438.5 MB, free: 14.68 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.071e-05/0.2075, allocations: 69.78 kB / 438.5 MB, free: 14.66 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.416e-05/0.2075, allocations: 334.6 kB / 438.9 MB, free: 14.35 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.108e-05/0.2076, allocations: 39.22 kB / 438.9 MB, free: 14.35 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.038e-05/0.2077, allocations: 130.4 kB / 439 MB, free: 14.27 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001842/0.2079, allocations: 203 kB / 439.2 MB, free: 14.17 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2079, allocations: 3.031 kB / 439.2 MB, free: 14.17 MB / 426.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004276/0.2083, allocations: 293.3 kB / 439.5 MB, free: 14.12 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.2083, allocations: 9.781 kB / 439.5 MB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.2083, allocations: 3.109 kB / 439.5 MB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005175/0.2088, allocations: 179.4 kB / 439.7 MB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/0.209, allocations: 66.09 kB / 439.8 MB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001207/0.2102, allocations: 1.574 MB / 441.3 MB, free: 12.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.2104, allocations: 16.69 kB / 441.4 MB, free: 12.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.2104, allocations: 8.953 kB / 441.4 MB, free: 12.92 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 8.747e-05/0.2105, allocations: 133.3 kB / 441.5 MB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.937e-05/0.2105, allocations: 27.44 kB / 441.5 MB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001838/0.2107, allocations: 160.4 kB / 441.7 MB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.2107, allocations: 2.594 kB / 441.7 MB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.2107, allocations: 1.328 kB / 441.7 MB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.2107, allocations: 1.5 kB / 441.7 MB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004146/0.2111, allocations: 448.5 kB / 442.1 MB, free: 12.51 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.2111, allocations: 1.031 kB / 442.1 MB, free: 12.51 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002737/0.2114, allocations: 98.42 kB / 442.2 MB, free: 12.51 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.921e-05/0.2114, allocations: 40.2 kB / 442.3 MB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.2114, allocations: 5.5 kB / 442.3 MB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.2115, allocations: 6.938 kB / 442.3 MB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.2115, allocations: 7.031 kB / 442.3 MB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2115, allocations: 1.438 kB / 442.3 MB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002553/0.2117, allocations: 346.9 kB / 442.6 MB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.2118, allocations: 15.62 kB / 442.6 MB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.291e-05/0.2118, allocations: 7.312 kB / 442.6 MB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.195e-05/0.2119, allocations: 15.89 kB / 442.7 MB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.2119, allocations: 2.875 kB / 442.7 MB, free: 12.29 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.077e-05/0.2119, allocations: 68.08 kB / 442.7 MB, free: 12.28 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2119, allocations: 1.344 kB / 442.7 MB, free: 12.28 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002411/0.2122, allocations: 86.72 kB / 442.8 MB, free: 12.28 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.0001099/0.2123, allocations: 101.2 kB / 442.9 MB, free: 12.21 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003871/0.2127, allocations: 339 kB / 443.3 MB, free: 12.07 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.268e-05/0.2127, allocations: 7.812 kB / 443.3 MB, free: 12.07 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.783e-05/0.2128, allocations: 70.41 kB / 443.3 MB, free: 12.06 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002342/0.213, allocations: 81.55 kB / 443.4 MB, free: 12.06 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002498/0.2155, allocations: 0.633 MB / 444 MB, free: 11.76 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.16e-05/0.2156, allocations: 115.3 kB / 444.2 MB, free: 11.69 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001104/0.2157, allocations: 32.86 kB / 444.2 MB, free: 11.68 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.2158, allocations: 97.58 kB / 444.3 MB, free: 11.64 MB / 426.7 MB Notification: Performance of SimCode: time 8.82e-07/0.2158, allocations: 4.938 kB / 444.3 MB, free: 11.63 MB / 426.7 MB Notification: Performance of Templates: time 0.005937/0.2217, allocations: 4.524 MB / 448.8 MB, free: 10.28 MB / 426.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.268479984253645]