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.0009107/0.0009106, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.007126/0.007126, allocations: 171.2 kB / 16.26 MB, free: 6.613 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.546/1.546, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.647/1.647, allocations: 252 MB / 0.5105 GB, free: 4.617 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.0005189/0.0005189, allocations: 12 kB / 0.6249 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5995/0.6001, allocations: 106.3 MB / 0.7287 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003868/0.604, allocations: 2.948 MB / 0.7316 GB, free: 8.312 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003162/0.6072, allocations: 1.84 MB / 0.7334 GB, free: 6.461 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001445/0.6074, allocations: 11.94 kB / 0.7334 GB, free: 6.449 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002038/0.6076, allocations: 39.7 kB / 0.7335 GB, free: 6.41 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005419/0.6081, allocations: 203.2 kB / 0.7336 GB, free: 6.211 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006598/0.6088, allocations: 266.4 kB / 0.7339 GB, free: 5.953 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005573/0.6094, allocations: 0.5649 MB / 0.7345 GB, free: 5.387 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007759/0.6101, allocations: 458.9 kB / 0.7349 GB, free: 4.91 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001817/0.6103, allocations: 127.5 kB / 0.735 GB, free: 4.785 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003615/0.6107, allocations: 199.3 kB / 0.7352 GB, free: 4.59 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.02e-05/0.6107, allocations: 15.94 kB / 0.7352 GB, free: 4.574 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004589/0.6112, allocations: 279.4 kB / 0.7355 GB, free: 4.301 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001414/0.6114, allocations: 99.77 kB / 0.7356 GB, free: 4.203 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000171/0.6115, allocations: 169 kB / 0.7357 GB, free: 4.031 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005791/0.6121, allocations: 466.4 kB / 0.7362 GB, free: 3.574 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.6121, allocations: 4 kB / 0.7362 GB, free: 3.57 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.805e-06/0.6122, allocations: 0 / 0.7362 GB, free: 3.57 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.6122, allocations: 0 / 0.7362 GB, free: 3.57 MB / 0.545 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.001027/0.6132, allocations: 0.5342 MB / 0.7367 GB, free: 2.988 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.6132, allocations: 12.03 kB / 0.7367 GB, free: 2.977 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007789/0.614, allocations: 92.45 kB / 0.7368 GB, free: 2.887 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00034/0.6144, allocations: 273.9 kB / 0.7371 GB, free: 2.578 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.6144, allocations: 20.94 kB / 0.7371 GB, free: 2.559 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.6146, allocations: 44.38 kB / 0.7371 GB, free: 2.516 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006436/0.6152, allocations: 441.1 kB / 0.7376 GB, free: 2.051 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.6152, allocations: 0 / 0.7376 GB, free: 2.051 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.062e-05/0.6153, allocations: 19.92 kB / 0.7376 GB, free: 2.031 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001434/0.6154, allocations: 40.53 kB / 0.7376 GB, free: 1.988 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005189/0.616, allocations: 349.9 kB / 0.7379 GB, free: 1.648 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002397/0.6184, allocations: 2.203 MB / 0.7401 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004219/0.6188, allocations: 273 kB / 0.7404 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002169/0.619, allocations: 164.8 kB / 0.7405 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.6191, allocations: 4 kB / 0.7405 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.6191, allocations: 34.56 kB / 0.7405 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=22): time 1.402e-06/0.6191, allocations: 0 / 0.7405 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23): time 0.001784/0.6209, allocations: 1.054 MB / 0.7416 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.6209, allocations: 55.41 kB / 0.7416 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002454/0.6212, allocations: 245 kB / 0.7419 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.589e-05/0.6212, allocations: 29.7 kB / 0.7419 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.6213, allocations: 195.9 kB / 0.7421 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.244e-05/0.6214, allocations: 82.81 kB / 0.7422 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.006e-05/0.6215, allocations: 33.7 kB / 0.7422 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.6216, allocations: 338.8 kB / 0.7425 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002346/0.6219, allocations: 147.9 kB / 0.7427 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002839/0.6222, allocations: 237.6 kB / 0.7429 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005137/0.6227, allocations: 406.8 kB / 0.7433 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.6227, allocations: 3.938 kB / 0.7433 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001075/0.6238, allocations: 0.5808 MB / 0.7438 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.6238, allocations: 11.94 kB / 0.7439 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.6238, allocations: 0 / 0.7439 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006876/0.6245, allocations: 192.9 kB / 0.744 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002746/0.6248, allocations: 55.91 kB / 0.7441 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002652/0.6274, allocations: 2.296 MB / 0.7463 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003046/0.6278, allocations: 19.98 kB / 0.7464 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.724e-05/0.6278, allocations: 11.98 kB / 0.7464 GB, free: 8.473 MB / 0.5606 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.0002144/0.628, allocations: 165.7 kB / 0.7465 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.907e-05/0.6281, allocations: 31.64 kB / 0.7466 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005968/0.6287, allocations: 357.8 kB / 0.7469 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.6287, allocations: 4 kB / 0.7469 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.6287, allocations: 0 / 0.7469 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.6287, allocations: 0 / 0.7469 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.6298, allocations: 0.8122 MB / 0.7477 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.6298, allocations: 112 / 0.7477 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003887/0.6302, allocations: 75.81 kB / 0.7478 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.164e-05/0.6302, allocations: 8.062 kB / 0.7478 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.375e-05/0.6303, allocations: 8 kB / 0.7478 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.6303, allocations: 7.938 kB / 0.7478 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.6303, allocations: 3.984 kB / 0.7478 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000745/0.631, allocations: 0.6141 MB / 0.7484 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.6312, allocations: 128.9 kB / 0.7485 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.069e-05/0.6312, allocations: 11.98 kB / 0.7485 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.6314, allocations: 15.98 kB / 0.7485 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.036e-05/0.6315, allocations: 11.98 kB / 0.7485 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.6315, allocations: 8 kB / 0.7486 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001631/0.6317, allocations: 180.5 kB / 0.7487 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6317, allocations: 0 / 0.7487 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000455/0.6321, allocations: 87.94 kB / 0.7488 GB, free: 5.855 MB / 0.5606 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.0001944/0.6323, allocations: 115.2 kB / 0.7489 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008974/0.6333, allocations: 0.5256 MB / 0.7494 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.6333, allocations: 0 / 0.7494 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002034/0.6335, allocations: 153.9 kB / 0.7496 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004875/0.634, allocations: 48.64 kB / 0.7496 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/0.6356, allocations: 1.036 MB / 0.7506 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004497/0.636, allocations: 0.7873 MB / 0.7514 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002287/0.6363, allocations: 82.88 kB / 0.7515 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.083e-05/0.6364, allocations: 23.44 kB / 0.7515 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of SimCode: time 4.21e-07/0.6364, allocations: 0 / 0.7515 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of Templates: time 0.007651/0.644, allocations: 3.754 MB / 0.7552 GB, free: 15.29 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: