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.001377/0.001377, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001444/0.001445, allocations: 192.3 kB / 16.13 MB, free: 6.699 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.787/1.787, allocations: 205.1 MB / 222 MB, free: 4.77 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.774/1.774, allocations: 251.6 MB / 0.5088 GB, free: 3.277 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.001806/0.001806, allocations: 68.47 kB / 0.6216 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6842/0.686, allocations: 104.7 MB / 0.7238 GB, free: 13.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005055/0.6911, allocations: 3.314 MB / 0.727 GB, free: 9.918 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003085/0.6943, allocations: 1.882 MB / 0.7289 GB, free: 8.023 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.6944, allocations: 4 kB / 0.7289 GB, free: 8.02 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008655/0.6953, allocations: 265.5 kB / 0.7291 GB, free: 7.762 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004268/0.6957, allocations: 207.2 kB / 0.7293 GB, free: 7.559 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006097/0.6964, allocations: 251.5 kB / 0.7296 GB, free: 7.312 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005549/0.6969, allocations: 0.5688 MB / 0.7301 GB, free: 6.742 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004222/0.6974, allocations: 206.8 kB / 0.7303 GB, free: 6.543 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001948/0.6976, allocations: 143.4 kB / 0.7305 GB, free: 6.402 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003773/0.698, allocations: 207.3 kB / 0.7307 GB, free: 6.199 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.472e-05/0.698, allocations: 16 kB / 0.7307 GB, free: 6.184 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004463/0.6985, allocations: 271.4 kB / 0.7309 GB, free: 5.918 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000138/0.6986, allocations: 119.7 kB / 0.7311 GB, free: 5.801 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000143/0.6988, allocations: 139.3 kB / 0.7312 GB, free: 5.664 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005681/0.6993, allocations: 478.5 kB / 0.7316 GB, free: 5.195 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.6993, allocations: 0 / 0.7316 GB, free: 5.195 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.023e-06/0.6994, allocations: 4 kB / 0.7316 GB, free: 5.191 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.6994, allocations: 3.938 kB / 0.7317 GB, free: 5.188 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.001174/0.7006, allocations: 0.5888 MB / 0.7322 GB, free: 4.551 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.7006, allocations: 8.031 kB / 0.7322 GB, free: 4.543 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007617/0.7014, allocations: 88.47 kB / 0.7323 GB, free: 4.457 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003628/0.7017, allocations: 276.5 kB / 0.7326 GB, free: 4.145 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.7018, allocations: 16.94 kB / 0.7326 GB, free: 4.129 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.7019, allocations: 40.39 kB / 0.7326 GB, free: 4.09 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006525/0.7026, allocations: 445.1 kB / 0.7331 GB, free: 3.621 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.7026, allocations: 4 kB / 0.7331 GB, free: 3.617 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.744e-05/0.7026, allocations: 15.92 kB / 0.7331 GB, free: 3.602 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001521/0.7028, allocations: 44.53 kB / 0.7331 GB, free: 3.555 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005431/0.7033, allocations: 349.9 kB / 0.7335 GB, free: 3.215 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002437/0.7058, allocations: 2.199 MB / 0.7356 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004196/0.7062, allocations: 262.4 kB / 0.7359 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002195/0.7064, allocations: 168.7 kB / 0.736 GB, free: 392 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.7065, allocations: 4 kB / 0.736 GB, free: 388 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.7065, allocations: 38.56 kB / 0.7361 GB, free: 340 kB / 0.545 GB Notification: Performance of pre-optimization done (n=22): time 1.493e-06/0.7065, allocations: 0 / 0.7361 GB, free: 340 kB / 0.545 GB Notification: Performance of matching and sorting (n=23): time 0.001836/0.7084, allocations: 1.054 MB / 0.7371 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/0.7084, allocations: 51.41 kB / 0.7371 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002528/0.7087, allocations: 245 kB / 0.7374 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.7087, allocations: 33.7 kB / 0.7374 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.7088, allocations: 183.9 kB / 0.7376 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.973e-05/0.7089, allocations: 86.8 kB / 0.7377 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.709, allocations: 77.59 kB / 0.7377 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.7092, allocations: 330.8 kB / 0.738 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002282/0.7094, allocations: 155.9 kB / 0.7382 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003017/0.7097, allocations: 233.6 kB / 0.7384 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005163/0.7103, allocations: 406.8 kB / 0.7388 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.7103, allocations: 3.938 kB / 0.7388 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001119/0.7114, allocations: 0.5849 MB / 0.7394 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.7114, allocations: 8 kB / 0.7394 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.7114, allocations: 0 / 0.7394 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006992/0.7122, allocations: 196.6 kB / 0.7396 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002703/0.7124, allocations: 63.83 kB / 0.7396 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002809/0.7153, allocations: 2.296 MB / 0.7419 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002822/0.7156, allocations: 19.98 kB / 0.7419 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-05/0.7156, allocations: 16.06 kB / 0.7419 GB, free: 9.996 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.0001883/0.7158, allocations: 167.4 kB / 0.7421 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.898e-05/0.7159, allocations: 27.66 kB / 0.7421 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005263/0.7164, allocations: 353 kB / 0.7424 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.7164, allocations: 7.922 kB / 0.7424 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.7164, allocations: 0 / 0.7424 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.7164, allocations: 0 / 0.7424 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.7175, allocations: 0.8161 MB / 0.7432 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.7175, allocations: 0 / 0.7432 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003729/0.7179, allocations: 71.88 kB / 0.7433 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.7179, allocations: 11.92 kB / 0.7433 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.403e-05/0.7179, allocations: 8 kB / 0.7433 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.7179, allocations: 0 / 0.7433 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.7179, allocations: 0 / 0.7433 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007901/0.7187, allocations: 0.6218 MB / 0.7439 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000212/0.7189, allocations: 128.8 kB / 0.7441 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.753e-05/0.719, allocations: 4 kB / 0.7441 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002803/0.7193, allocations: 15.98 kB / 0.7441 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.449e-05/0.7193, allocations: 15.92 kB / 0.7441 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.7194, allocations: 8 kB / 0.7441 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001655/0.7195, allocations: 188.5 kB / 0.7443 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7195, allocations: 0 / 0.7443 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004015/0.7199, allocations: 91.94 kB / 0.7444 GB, free: 7.379 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.0001863/0.7201, allocations: 103.2 kB / 0.7445 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009105/0.721, allocations: 0.5398 MB / 0.745 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.7211, allocations: 0 / 0.745 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001998/0.7213, allocations: 151.8 kB / 0.7451 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004598/0.7217, allocations: 59.83 kB / 0.7452 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.7234, allocations: 0.9385 MB / 0.7461 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004069/0.7238, allocations: 0.7873 MB / 0.7469 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002168/0.724, allocations: 74.89 kB / 0.747 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.938e-05/0.7241, allocations: 31.44 kB / 0.747 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of SimCode: time 3.61e-07/0.7241, allocations: 0 / 0.747 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of Templates: time 0.008847/0.733, allocations: 3.836 MB / 0.7507 GB, free: 0.8086 MB / 0.5606 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)