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.0009981/0.0009981, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001429/0.002427, allocations: 449.7 kB / 10.37 MB, free: 328 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.001076/0.001076, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001272/0.002348, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9085/0.9085, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08308/0.9916, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] 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 1.854/1.854, allocations: 389.9 MB / 0.619 GB, free: 11.76 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5121/2.366, allocations: 127.1 MB / 0.7432 GB, free: 4.59 MB / 0.7136 GB " [Timeout remaining time 178] 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.552e-06/1.552e-06, allocations: 0 / 0.7445 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.13e-05/1.285e-05, allocations: 8.703 kB / 0.7445 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003129/0.003142, allocations: 2.737 MB / 0.7471 GB, free: 0.5938 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001966/0.005108, allocations: 1.518 MB / 0.7486 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.005242, allocations: 7.938 kB / 0.7486 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0003555/0.005597, allocations: 120 kB / 0.7487 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0003296/0.005927, allocations: 217.4 kB / 0.749 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004894/0.006416, allocations: 252.9 kB / 0.7492 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003932/0.00681, allocations: 451 kB / 0.7496 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002299/0.007039, allocations: 158.3 kB / 0.7498 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002943/0.007334, allocations: 256 kB / 0.75 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002855/0.007619, allocations: 197.5 kB / 0.7502 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.162e-05/0.007651, allocations: 24 kB / 0.7502 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002628/0.007914, allocations: 179.6 kB / 0.7504 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 9.647e-05/0.00801, allocations: 115.8 kB / 0.7505 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 7.543e-05/0.008086, allocations: 85.66 kB / 0.7506 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003575/0.008443, allocations: 315 kB / 0.7509 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.343e-05/0.008457, allocations: 0 / 0.7509 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.12e-07/0.008457, allocations: 3.938 kB / 0.7509 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.392e-05/0.008471, allocations: 0 / 0.7509 GB, free: 12.75 MB / 0.7292 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.0006962/0.009167, allocations: 0.5603 MB / 0.7514 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.009198, allocations: 12.02 kB / 0.7515 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000577/0.009775, allocations: 223.6 kB / 0.7517 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002491/0.01002, allocations: 198 kB / 0.7519 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.01004, allocations: 21.56 kB / 0.7519 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.773e-05/0.01013, allocations: 40.72 kB / 0.7519 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003662/0.0105, allocations: 372.5 kB / 0.7523 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.01051, allocations: 4.188 kB / 0.7523 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.35e-05/0.01053, allocations: 11.94 kB / 0.7523 GB, free: 11.22 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.661e-05/0.01061, allocations: 43.22 kB / 0.7523 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001482/0.01076, allocations: 111.3 kB / 0.7524 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001364/0.01212, allocations: 1.299 MB / 0.7537 GB, free: 9.723 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/0.0123, allocations: 171.9 kB / 0.7539 GB, free: 9.543 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.779e-05/0.01236, allocations: 52.83 kB / 0.7539 GB, free: 9.488 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.01237, allocations: 4 kB / 0.7539 GB, free: 9.484 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.01239, allocations: 35.22 kB / 0.754 GB, free: 9.441 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=22): time 1.282e-06/0.01239, allocations: 0.7812 kB / 0.754 GB, free: 9.441 MB / 0.7292 GB Notification: Performance of matching and sorting (n=23): time 0.0008068/0.0132, allocations: 443.7 kB / 0.7544 GB, free: 8.98 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.01323, allocations: 56.47 kB / 0.7544 GB, free: 8.914 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.01342, allocations: 222.3 kB / 0.7546 GB, free: 8.684 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.01344, allocations: 30.23 kB / 0.7547 GB, free: 8.648 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.682e-05/0.01353, allocations: 189.5 kB / 0.7549 GB, free: 8.461 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.724e-05/0.01358, allocations: 91.19 kB / 0.7549 GB, free: 8.371 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.01369, allocations: 81.56 kB / 0.755 GB, free: 8.285 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.562e-05/0.01378, allocations: 332 kB / 0.7553 GB, free: 7.953 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.53e-05/0.01385, allocations: 39.98 kB / 0.7554 GB, free: 7.914 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.01398, allocations: 125.6 kB / 0.7555 GB, free: 7.754 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002238/0.0142, allocations: 201.1 kB / 0.7557 GB, free: 7.527 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.0142, allocations: 0.7188 kB / 0.7557 GB, free: 7.527 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005138/0.01472, allocations: 304 kB / 0.756 GB, free: 7.227 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.01473, allocations: 4 kB / 0.756 GB, free: 7.223 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.01474, allocations: 7.938 kB / 0.756 GB, free: 7.215 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006288/0.01537, allocations: 176.4 kB / 0.7562 GB, free: 7.047 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002086/0.01558, allocations: 59.91 kB / 0.7562 GB, free: 6.988 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001438/0.01702, allocations: 1.569 MB / 0.7577 GB, free: 5.328 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/0.0172, allocations: 9.406 kB / 0.7578 GB, free: 5.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.473e-05/0.01722, allocations: 15.98 kB / 0.7578 GB, free: 5.305 MB / 0.7292 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.0001086/0.01733, allocations: 129.6 kB / 0.7579 GB, free: 5.168 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.764e-05/0.01738, allocations: 23.92 kB / 0.7579 GB, free: 5.145 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002379/0.01762, allocations: 170.9 kB / 0.7581 GB, free: 4.973 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.01762, allocations: 0.7812 kB / 0.7581 GB, free: 4.973 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.684e-06/0.01762, allocations: 0 / 0.7581 GB, free: 4.973 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.01762, allocations: 0 / 0.7581 GB, free: 4.973 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005039/0.01813, allocations: 447.4 kB / 0.7585 GB, free: 4.508 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.01813, allocations: 1.125 kB / 0.7585 GB, free: 4.508 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003508/0.01848, allocations: 102.9 kB / 0.7586 GB, free: 4.41 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.934e-05/0.01855, allocations: 43.78 kB / 0.7586 GB, free: 4.367 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.01855, allocations: 0 / 0.7586 GB, free: 4.367 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.01857, allocations: 8 kB / 0.7587 GB, free: 4.359 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.01857, allocations: 3.984 kB / 0.7587 GB, free: 4.355 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.01858, allocations: 4 kB / 0.7587 GB, free: 4.352 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003078/0.01889, allocations: 348.2 kB / 0.759 GB, free: 3.988 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.304e-05/0.01892, allocations: 14.97 kB / 0.759 GB, free: 3.977 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.01904, allocations: 4 kB / 0.759 GB, free: 3.973 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.738e-05/0.01908, allocations: 19.97 kB / 0.759 GB, free: 3.953 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.01909, allocations: 0 / 0.759 GB, free: 3.953 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.531e-05/0.01917, allocations: 69.67 kB / 0.7591 GB, free: 3.883 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01917, allocations: 0 / 0.7591 GB, free: 3.883 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003285/0.01949, allocations: 88 kB / 0.7592 GB, free: 3.797 MB / 0.7292 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.0001267/0.01962, allocations: 101.8 kB / 0.7593 GB, free: 3.691 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00047/0.02009, allocations: 352.5 kB / 0.7596 GB, free: 3.34 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.487e-05/0.02011, allocations: 4 kB / 0.7596 GB, free: 3.336 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.374e-05/0.02019, allocations: 64.7 kB / 0.7597 GB, free: 3.27 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/0.02049, allocations: 84.17 kB / 0.7598 GB, free: 3.195 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003511/0.024, allocations: 0.6232 MB / 0.7604 GB, free: 2.539 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.148e-05/0.02409, allocations: 112.3 kB / 0.7605 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001338/0.02423, allocations: 33.23 kB / 0.7605 GB, free: 2.387 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001558/0.02438, allocations: 91.34 kB / 0.7606 GB, free: 2.297 MB / 0.7292 GB Notification: Performance of SimCode: time 1.052e-06/0.02438, allocations: 3.938 kB / 0.7606 GB, free: 2.293 MB / 0.7292 GB Notification: Performance of Templates: time 0.007157/0.03154, allocations: 4.513 MB / 0.765 GB, free: 13.93 MB / 0.7448 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: 4.924972900189459]