Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001912/0.001912, allocations: 80.55 kB / 19.95 MB, free: 4.602 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.002068/0.002068, allocations: 173.2 kB / 23.24 MB, free: 1.324 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.529/1.529, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.182/3.182, allocations: 389.5 MB / 0.6343 GB, free: 12.62 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.77e-05/2.932e-05, allocations: 2.281 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005386/0.005415, allocations: 3.204 MB / 1.004 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0038/0.009215, allocations: 1.975 MB / 1.006 GB, free: 7.824 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001821/0.009397, allocations: 11.88 kB / 1.006 GB, free: 7.812 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001019/0.01042, allocations: 294.7 kB / 1.006 GB, free: 7.523 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0006482/0.01106, allocations: 246.6 kB / 1.007 GB, free: 7.281 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007816/0.01185, allocations: 291.1 kB / 1.007 GB, free: 6.996 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0005557/0.0124, allocations: 414.6 kB / 1.007 GB, free: 6.59 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003591/0.01276, allocations: 164.3 kB / 1.008 GB, free: 6.43 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003863/0.01315, allocations: 231.4 kB / 1.008 GB, free: 6.203 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003892/0.01354, allocations: 191.5 kB / 1.008 GB, free: 6.016 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 5.058e-05/0.01359, allocations: 24 kB / 1.008 GB, free: 5.992 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004821/0.01407, allocations: 243.4 kB / 1.008 GB, free: 5.754 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001663/0.01424, allocations: 135.6 kB / 1.008 GB, free: 5.621 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001611/0.0144, allocations: 107.7 kB / 1.008 GB, free: 5.516 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0007566/0.01515, allocations: 0.5024 MB / 1.009 GB, free: 5.012 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.01516, allocations: 0 / 1.009 GB, free: 5.012 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.91e-07/0.01516, allocations: 4 kB / 1.009 GB, free: 5.008 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.01516, allocations: 0 / 1.009 GB, free: 5.008 MB / 0.9636 GB 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.001202/0.01637, allocations: 0.5244 MB / 1.009 GB, free: 4.453 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.01641, allocations: 17.34 kB / 1.009 GB, free: 4.438 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009278/0.01734, allocations: 116.6 kB / 1.01 GB, free: 4.324 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004084/0.01774, allocations: 225.9 kB / 1.01 GB, free: 4.074 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.01777, allocations: 12.88 kB / 1.01 GB, free: 4.062 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.0179, allocations: 32.73 kB / 1.01 GB, free: 4.031 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008599/0.01876, allocations: 0.5303 MB / 1.01 GB, free: 3.445 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.01878, allocations: 192 / 1.01 GB, free: 3.445 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.325e-05/0.01882, allocations: 19.92 kB / 1.01 GB, free: 3.426 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001478/0.01897, allocations: 40.47 kB / 1.01 GB, free: 3.387 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006979/0.01966, allocations: 357.7 kB / 1.011 GB, free: 3.039 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002596/0.02226, allocations: 1.59 MB / 1.012 GB, free: 1.383 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004905/0.02275, allocations: 246.4 kB / 1.013 GB, free: 1.133 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002446/0.023, allocations: 144.8 kB / 1.013 GB, free: 0.9883 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.02302, allocations: 4 kB / 1.013 GB, free: 0.9844 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.093e-05/0.02306, allocations: 42.56 kB / 1.013 GB, free: 0.9336 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=22): time 1.553e-06/0.02306, allocations: 0 / 1.013 GB, free: 0.9336 MB / 0.9636 GB Notification: Performance of matching and sorting (n=23): time 0.001984/0.02504, allocations: 0.9049 MB / 1.014 GB, free: 15.99 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.02509, allocations: 55.34 kB / 1.014 GB, free: 15.93 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003588/0.02545, allocations: 251.1 kB / 1.014 GB, free: 15.67 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 3.353e-05/0.02549, allocations: 29.7 kB / 1.014 GB, free: 15.64 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.02564, allocations: 196.3 kB / 1.014 GB, free: 15.44 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 8.849e-05/0.02572, allocations: 87.28 kB / 1.014 GB, free: 15.36 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/0.02587, allocations: 81.56 kB / 1.014 GB, free: 15.27 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001786/0.02605, allocations: 330.8 kB / 1.015 GB, free: 14.94 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003313/0.02638, allocations: 155.9 kB / 1.015 GB, free: 14.79 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004003/0.02678, allocations: 247 kB / 1.015 GB, free: 14.51 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006856/0.02747, allocations: 406.9 kB / 1.015 GB, free: 14.08 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.02747, allocations: 0 / 1.015 GB, free: 14.08 MB / 0.9792 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001449/0.02892, allocations: 0.6021 MB / 1.016 GB, free: 13.47 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.02894, allocations: 6.656 kB / 1.016 GB, free: 13.46 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.02895, allocations: 8 kB / 1.016 GB, free: 13.46 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007133/0.02966, allocations: 188.6 kB / 1.016 GB, free: 13.27 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003363/0.03, allocations: 63.89 kB / 1.016 GB, free: 13.21 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003321/0.03332, allocations: 2.339 MB / 1.018 GB, free: 10.77 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000406/0.03372, allocations: 27.97 kB / 1.018 GB, free: 10.74 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.505e-05/0.03376, allocations: 12 kB / 1.019 GB, free: 10.73 MB / 0.9792 GB 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.0002232/0.03398, allocations: 168.3 kB / 1.019 GB, free: 10.55 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.558e-05/0.03405, allocations: 23.86 kB / 1.019 GB, free: 10.53 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006352/0.03468, allocations: 357.8 kB / 1.019 GB, free: 10.18 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.03469, allocations: 4 kB / 1.019 GB, free: 10.17 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.03469, allocations: 3.938 kB / 1.019 GB, free: 10.17 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.0347, allocations: 3.984 kB / 1.019 GB, free: 10.16 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001149/0.03585, allocations: 0.7078 MB / 1.02 GB, free: 9.414 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.03585, allocations: 0 / 1.02 GB, free: 9.414 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004168/0.03627, allocations: 83.81 kB / 1.02 GB, free: 9.332 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.03627, allocations: 0 / 1.02 GB, free: 9.332 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.174e-05/0.0363, allocations: 11.94 kB / 1.02 GB, free: 9.32 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.0363, allocations: 64 / 1.02 GB, free: 9.32 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.0363, allocations: 4 kB / 1.02 GB, free: 9.316 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008613/0.03717, allocations: 0.6085 MB / 1.02 GB, free: 8.688 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/0.0373, allocations: 51.81 kB / 1.02 GB, free: 8.637 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.134e-05/0.03734, allocations: 8 kB / 1.02 GB, free: 8.629 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002271/0.03757, allocations: 11.98 kB / 1.02 GB, free: 8.617 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.03761, allocations: 19.91 kB / 1.021 GB, free: 8.598 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/0.03763, allocations: 8 kB / 1.021 GB, free: 8.59 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0002442/0.03787, allocations: 180.1 kB / 1.021 GB, free: 8.414 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.03787, allocations: 0 / 1.021 GB, free: 8.414 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0004498/0.03832, allocations: 88 kB / 1.021 GB, free: 8.328 MB / 0.9792 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.0001991/0.03852, allocations: 107.2 kB / 1.021 GB, free: 8.211 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001043/0.03957, allocations: 0.517 MB / 1.021 GB, free: 7.684 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.03957, allocations: 0 / 1.021 GB, free: 7.684 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0002228/0.03979, allocations: 139.9 kB / 1.022 GB, free: 7.547 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004563/0.04025, allocations: 60.09 kB / 1.022 GB, free: 7.496 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/0.04177, allocations: 0.735 MB / 1.022 GB, free: 6.73 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002368/0.04201, allocations: 197.7 kB / 1.022 GB, free: 6.52 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0002484/0.04226, allocations: 78.22 kB / 1.023 GB, free: 6.441 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.098e-05/0.04234, allocations: 24.5 kB / 1.023 GB, free: 6.418 MB / 0.9792 GB Notification: Performance of SimCode: time 4.9e-07/0.04234, allocations: 0 / 1.023 GB, free: 6.418 MB / 0.9792 GB Notification: Performance of Templates: time 0.009641/0.05198, allocations: 4.139 MB / 1.027 GB, free: 2.324 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.82808238454163]