Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01118/0.01118, allocations: 103.7 kB / 15.74 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001873/0.001874, allocations: 190.1 kB / 16.67 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.887/1.887, allocations: 205.1 MB / 222.6 MB, free: 4.492 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.77/1.77, allocations: 251.7 MB / 0.5094 GB, free: 3.012 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002089/0.00209, allocations: 76.47 kB / 0.7258 GB, free: 9.164 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3147, allocations: 104.7 MB / 0.828 GB, free: 360 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.007236/0.322, allocations: 3.261 MB / 0.8312 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004913/0.327, allocations: 1.874 MB / 0.833 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006263/0.3277, allocations: 7.938 kB / 0.8331 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001773/0.3295, allocations: 286.8 kB / 0.8333 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001269/0.3308, allocations: 223 kB / 0.8335 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001351/0.3322, allocations: 287.3 kB / 0.8338 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0008986/0.3331, allocations: 406.8 kB / 0.8342 GB, free: 10 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000605/0.3337, allocations: 208 kB / 0.8344 GB, free: 9.797 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005255/0.3343, allocations: 171.4 kB / 0.8346 GB, free: 9.629 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005648/0.3348, allocations: 195.3 kB / 0.8348 GB, free: 9.438 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.899e-05/0.3349, allocations: 24 kB / 0.8348 GB, free: 9.414 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005794/0.3355, allocations: 239.5 kB / 0.835 GB, free: 9.18 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001522/0.3356, allocations: 119.7 kB / 0.8351 GB, free: 9.062 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000183/0.3358, allocations: 139.3 kB / 0.8353 GB, free: 8.926 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000624/0.3365, allocations: 474.5 kB / 0.8357 GB, free: 8.461 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.3365, allocations: 0 / 0.8357 GB, free: 8.461 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.754e-06/0.3365, allocations: 0 / 0.8357 GB, free: 8.461 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.352e-05/0.3365, allocations: 0 / 0.8357 GB, free: 8.461 MB / 0.6544 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.001284/0.3378, allocations: 0.6029 MB / 0.8363 GB, free: 7.812 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.3379, allocations: 8.031 kB / 0.8363 GB, free: 7.805 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007779/0.3386, allocations: 92.45 kB / 0.8364 GB, free: 7.715 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004079/0.3391, allocations: 284.5 kB / 0.8367 GB, free: 7.395 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.396e-05/0.3391, allocations: 20.94 kB / 0.8367 GB, free: 7.375 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/0.3392, allocations: 36.64 kB / 0.8367 GB, free: 7.34 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007264/0.34, allocations: 445.1 kB / 0.8371 GB, free: 6.871 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.34, allocations: 0 / 0.8371 GB, free: 6.871 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.212e-05/0.3401, allocations: 12 kB / 0.8372 GB, free: 6.859 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000142/0.3402, allocations: 44.41 kB / 0.8372 GB, free: 6.812 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005798/0.3408, allocations: 349.9 kB / 0.8375 GB, free: 6.473 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002544/0.3433, allocations: 2.203 MB / 0.8397 GB, free: 4.07 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004593/0.3438, allocations: 262.4 kB / 0.8399 GB, free: 3.805 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002401/0.3441, allocations: 160.8 kB / 0.8401 GB, free: 3.645 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.3441, allocations: 4 kB / 0.8401 GB, free: 3.641 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.3441, allocations: 34.56 kB / 0.8401 GB, free: 3.598 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=22): time 4.639e-06/0.3442, allocations: 4 kB / 0.8401 GB, free: 3.594 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23): time 0.002082/0.3462, allocations: 1.053 MB / 0.8411 GB, free: 2.477 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/0.3463, allocations: 59.39 kB / 0.8412 GB, free: 2.406 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003169/0.3466, allocations: 249 kB / 0.8414 GB, free: 2.156 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.25e-05/0.3467, allocations: 29.7 kB / 0.8415 GB, free: 2.121 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001678/0.3469, allocations: 187.9 kB / 0.8417 GB, free: 1.93 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.567e-05/0.347, allocations: 90.73 kB / 0.8417 GB, free: 1.84 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001532/0.3471, allocations: 73.59 kB / 0.8418 GB, free: 1.762 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001809/0.3473, allocations: 334.8 kB / 0.8421 GB, free: 1.426 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002787/0.3476, allocations: 151.9 kB / 0.8423 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003381/0.3479, allocations: 233.6 kB / 0.8425 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005858/0.3485, allocations: 402.8 kB / 0.8429 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.3485, allocations: 0 / 0.8429 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001186/0.3497, allocations: 0.5923 MB / 0.8435 GB, free: 15.98 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.645e-05/0.3498, allocations: 4 kB / 0.8435 GB, free: 15.98 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.3498, allocations: 4 kB / 0.8435 GB, free: 15.98 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000744/0.3506, allocations: 192.9 kB / 0.8436 GB, free: 15.79 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003102/0.3509, allocations: 63.89 kB / 0.8437 GB, free: 15.73 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003281/0.3542, allocations: 2.492 MB / 0.8461 GB, free: 13.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003058/0.3545, allocations: 20.02 kB / 0.8462 GB, free: 13.08 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.14e-05/0.3545, allocations: 12 kB / 0.8462 GB, free: 13.07 MB / 0.67 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.0002369/0.3548, allocations: 169.8 kB / 0.8463 GB, free: 12.89 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.534e-05/0.3549, allocations: 27.66 kB / 0.8464 GB, free: 12.86 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006076/0.3555, allocations: 355.4 kB / 0.8467 GB, free: 12.52 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/0.3555, allocations: 11.97 kB / 0.8467 GB, free: 12.5 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.3555, allocations: 0 / 0.8467 GB, free: 12.5 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.3555, allocations: 0 / 0.8467 GB, free: 12.5 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/0.3567, allocations: 0.8044 MB / 0.8475 GB, free: 11.64 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.3567, allocations: 4 kB / 0.8475 GB, free: 11.63 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004153/0.3571, allocations: 75.88 kB / 0.8476 GB, free: 11.56 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.897e-06/0.3572, allocations: 4 kB / 0.8476 GB, free: 11.55 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.671e-05/0.3572, allocations: 4 kB / 0.8476 GB, free: 11.55 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.3572, allocations: 4 kB / 0.8476 GB, free: 11.55 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3572, allocations: 3.938 kB / 0.8476 GB, free: 11.54 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008019/0.358, allocations: 0.6219 MB / 0.8482 GB, free: 10.9 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001678/0.3582, allocations: 120.9 kB / 0.8483 GB, free: 10.76 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.276e-05/0.3582, allocations: 8 kB / 0.8483 GB, free: 10.75 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.3584, allocations: 15.92 kB / 0.8483 GB, free: 10.74 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.257e-05/0.3585, allocations: 15.92 kB / 0.8484 GB, free: 10.72 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.3585, allocations: 8 kB / 0.8484 GB, free: 10.71 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0001984/0.3587, allocations: 180.5 kB / 0.8485 GB, free: 10.54 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3587, allocations: 4 kB / 0.8485 GB, free: 10.54 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004485/0.3592, allocations: 92 kB / 0.8486 GB, free: 10.45 MB / 0.67 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.0002111/0.3594, allocations: 111.2 kB / 0.8487 GB, free: 10.32 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001005/0.3604, allocations: 0.5397 MB / 0.8493 GB, free: 9.777 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.3605, allocations: 0 / 0.8493 GB, free: 9.777 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002375/0.3607, allocations: 151.8 kB / 0.8494 GB, free: 9.629 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004912/0.3612, allocations: 56.33 kB / 0.8495 GB, free: 9.574 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001697/0.3629, allocations: 0.8329 MB / 0.8503 GB, free: 8.707 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004849/0.3634, allocations: 0.7912 MB / 0.851 GB, free: 7.887 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002299/0.3637, allocations: 78.89 kB / 0.8511 GB, free: 7.809 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.022e-05/0.3638, allocations: 19.44 kB / 0.8511 GB, free: 7.789 MB / 0.67 GB Notification: Performance of SimCode: time 2.41e-07/0.3638, allocations: 0 / 0.8511 GB, free: 7.789 MB / 0.67 GB Notification: Performance of Templates: time 0.009791/0.3736, allocations: 4.065 MB / 0.8551 GB, free: 3.75 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)