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.01358/0.01359, allocations: 103 kB / 15.73 MB, free: 6.051 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.002191/0.002192, allocations: 193 kB / 16.67 MB, free: 5.98 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.898/1.898, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.749/1.749, allocations: 251.7 MB / 0.5094 GB, free: 3.039 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.001423/0.001423, allocations: 79.89 kB / 0.7258 GB, free: 9.129 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2752, allocations: 104.7 MB / 0.828 GB, free: 332 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.006047/0.2813, allocations: 3.261 MB / 0.8312 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003584/0.2849, allocations: 1.874 MB / 0.8331 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001618/0.2851, allocations: 7.938 kB / 0.8331 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00109/0.2862, allocations: 290.8 kB / 0.8333 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0006133/0.2868, allocations: 219 kB / 0.8335 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00092/0.2878, allocations: 287.3 kB / 0.8338 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004376/0.2882, allocations: 406.8 kB / 0.8342 GB, free: 9.973 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003864/0.2886, allocations: 204 kB / 0.8344 GB, free: 9.773 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002328/0.2888, allocations: 167.4 kB / 0.8346 GB, free: 9.609 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003537/0.2892, allocations: 195.3 kB / 0.8348 GB, free: 9.418 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.776e-05/0.2892, allocations: 24 kB / 0.8348 GB, free: 9.395 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003879/0.2896, allocations: 243.5 kB / 0.835 GB, free: 9.156 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.2898, allocations: 115.7 kB / 0.8351 GB, free: 9.043 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001689/0.29, allocations: 143.3 kB / 0.8353 GB, free: 8.902 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005447/0.2905, allocations: 478.5 kB / 0.8357 GB, free: 8.434 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2905, allocations: 0 / 0.8357 GB, free: 8.434 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2905, allocations: 0 / 0.8357 GB, free: 8.434 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.635e-06/0.2905, allocations: 0 / 0.8357 GB, free: 8.434 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.001159/0.2917, allocations: 0.6004 MB / 0.8363 GB, free: 7.785 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.2918, allocations: 8.031 kB / 0.8363 GB, free: 7.777 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007576/0.2925, allocations: 88.47 kB / 0.8364 GB, free: 7.691 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003627/0.2929, allocations: 280.5 kB / 0.8367 GB, free: 7.375 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.2929, allocations: 24.92 kB / 0.8367 GB, free: 7.352 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/0.2931, allocations: 36.64 kB / 0.8367 GB, free: 7.316 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007388/0.2938, allocations: 445 kB / 0.8371 GB, free: 6.848 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.2939, allocations: 4 kB / 0.8371 GB, free: 6.844 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.417e-05/0.2939, allocations: 15.94 kB / 0.8372 GB, free: 6.828 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000158/0.2941, allocations: 36.53 kB / 0.8372 GB, free: 6.789 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005503/0.2946, allocations: 349.9 kB / 0.8375 GB, free: 6.449 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002501/0.2971, allocations: 2.202 MB / 0.8397 GB, free: 4.047 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004323/0.2976, allocations: 262.4 kB / 0.8399 GB, free: 3.781 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002178/0.2978, allocations: 164.8 kB / 0.8401 GB, free: 3.617 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.2978, allocations: 7.984 kB / 0.8401 GB, free: 3.609 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.2979, allocations: 34.56 kB / 0.8401 GB, free: 3.566 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=22): time 1.453e-06/0.2979, allocations: 0 / 0.8401 GB, free: 3.566 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23): time 0.001807/0.2997, allocations: 1.052 MB / 0.8412 GB, free: 2.445 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.2998, allocations: 55.41 kB / 0.8412 GB, free: 2.379 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002583/0.3, allocations: 248.9 kB / 0.8414 GB, free: 2.129 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.225e-05/0.3001, allocations: 37.64 kB / 0.8415 GB, free: 2.086 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.3002, allocations: 184 kB / 0.8417 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.725e-05/0.3003, allocations: 86.75 kB / 0.8417 GB, free: 1.812 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/0.3004, allocations: 73.59 kB / 0.8418 GB, free: 1.734 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.3005, allocations: 334.8 kB / 0.8421 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/0.3008, allocations: 151.9 kB / 0.8423 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002747/0.301, allocations: 233.6 kB / 0.8425 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004966/0.3015, allocations: 402.8 kB / 0.8429 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.3016, allocations: 0 / 0.8429 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0011/0.3027, allocations: 0.5884 MB / 0.8435 GB, free: 15.96 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.3027, allocations: 6.656 kB / 0.8435 GB, free: 15.96 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.096e-06/0.3027, allocations: 7.938 kB / 0.8435 GB, free: 15.95 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007123/0.3034, allocations: 193 kB / 0.8436 GB, free: 15.76 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002859/0.3037, allocations: 55.91 kB / 0.8437 GB, free: 15.71 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00305/0.3068, allocations: 2.492 MB / 0.8461 GB, free: 13.07 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000325/0.3071, allocations: 24 kB / 0.8462 GB, free: 13.05 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.834e-05/0.3072, allocations: 12 kB / 0.8462 GB, free: 13.04 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.0002146/0.3074, allocations: 173.8 kB / 0.8463 GB, free: 12.86 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.388e-05/0.3074, allocations: 27.66 kB / 0.8464 GB, free: 12.83 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005625/0.308, allocations: 358.1 kB / 0.8467 GB, free: 12.48 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.308, allocations: 4 kB / 0.8467 GB, free: 12.48 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-06/0.308, allocations: 0 / 0.8467 GB, free: 12.48 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.308, allocations: 3.984 kB / 0.8467 GB, free: 12.48 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.3091, allocations: 0.8033 MB / 0.8475 GB, free: 11.61 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.3091, allocations: 4 kB / 0.8475 GB, free: 11.61 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000394/0.3095, allocations: 75.88 kB / 0.8476 GB, free: 11.54 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.3095, allocations: 0 / 0.8476 GB, free: 11.54 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.494e-05/0.3096, allocations: 15.98 kB / 0.8476 GB, free: 11.52 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.3096, allocations: 4 kB / 0.8476 GB, free: 11.52 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.3096, allocations: 0 / 0.8476 GB, free: 11.52 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007385/0.3103, allocations: 0.6218 MB / 0.8482 GB, free: 10.87 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.3105, allocations: 124.9 kB / 0.8483 GB, free: 10.73 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.633e-05/0.3105, allocations: 11.98 kB / 0.8483 GB, free: 10.72 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.3107, allocations: 11.98 kB / 0.8483 GB, free: 10.71 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.78e-05/0.3108, allocations: 15.92 kB / 0.8484 GB, free: 10.69 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.3108, allocations: 8 kB / 0.8484 GB, free: 10.68 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0001987/0.311, allocations: 180.5 kB / 0.8485 GB, free: 10.51 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.311, allocations: 0 / 0.8485 GB, free: 10.51 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004241/0.3114, allocations: 92 kB / 0.8486 GB, free: 10.42 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.0001972/0.3117, allocations: 111.2 kB / 0.8487 GB, free: 10.3 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0009466/0.3126, allocations: 0.53 MB / 0.8492 GB, free: 9.754 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.3126, allocations: 0 / 0.8492 GB, free: 9.754 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002054/0.3128, allocations: 151.8 kB / 0.8494 GB, free: 9.605 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004671/0.3133, allocations: 61.75 kB / 0.8495 GB, free: 9.551 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/0.3149, allocations: 0.8327 MB / 0.8503 GB, free: 8.684 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004344/0.3154, allocations: 0.7951 MB / 0.851 GB, free: 7.859 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002292/0.3156, allocations: 74.91 kB / 0.8511 GB, free: 7.785 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.494e-05/0.3157, allocations: 23.42 kB / 0.8511 GB, free: 7.762 MB / 0.67 GB Notification: Performance of SimCode: time 3.31e-07/0.3157, allocations: 0 / 0.8511 GB, free: 7.762 MB / 0.67 GB Notification: Performance of Templates: time 0.009147/0.3249, allocations: 4.063 MB / 0.8551 GB, free: 3.723 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)