Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.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.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01102/0.01102, allocations: 102 kB / 15.73 MB, free: 6.035 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.001731/0.001731, allocations: 196.2 kB / 16.68 MB, free: 5.953 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.616/1.616, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.556/1.556, allocations: 251.7 MB / 0.5094 GB, free: 3.023 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.001407/0.001407, allocations: 63.91 kB / 0.7258 GB, free: 9.082 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2889, allocations: 104.7 MB / 0.828 GB, free: 268 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.00619/0.2951, allocations: 4.075 MB / 0.832 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003075/0.2982, allocations: 1.586 MB / 0.8336 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001883/0.2984, allocations: 11.94 kB / 0.8336 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001751/0.3002, allocations: 0.586 MB / 0.8341 GB, free: 9.973 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0005318/0.3008, allocations: 234.9 kB / 0.8344 GB, free: 9.742 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005673/0.3014, allocations: 219.5 kB / 0.8346 GB, free: 9.527 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0006019/0.302, allocations: 0.5452 MB / 0.8351 GB, free: 8.98 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007587/0.3027, allocations: 473.8 kB / 0.8356 GB, free: 8.516 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003853/0.3031, allocations: 231.3 kB / 0.8358 GB, free: 8.289 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004238/0.3036, allocations: 251.1 kB / 0.836 GB, free: 8.043 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.497e-05/0.3036, allocations: 32 kB / 0.836 GB, free: 8.012 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003166/0.304, allocations: 167.7 kB / 0.8362 GB, free: 7.848 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001665/0.3041, allocations: 159.6 kB / 0.8364 GB, free: 7.691 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001965/0.3043, allocations: 191.1 kB / 0.8365 GB, free: 7.504 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006508/0.305, allocations: 0.5218 MB / 0.837 GB, free: 6.98 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.305, allocations: 0 / 0.837 GB, free: 6.98 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.493e-06/0.305, allocations: 3.938 kB / 0.837 GB, free: 6.977 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.165e-06/0.305, allocations: 0 / 0.837 GB, free: 6.977 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001455/0.3065, allocations: 0.6865 MB / 0.8377 GB, free: 6.242 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.3066, allocations: 8.031 kB / 0.8377 GB, free: 6.234 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007134/0.3073, allocations: 104.4 kB / 0.8378 GB, free: 6.133 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004385/0.3077, allocations: 307.6 kB / 0.8381 GB, free: 5.793 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.062e-05/0.3078, allocations: 55.27 kB / 0.8382 GB, free: 5.734 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.311e-05/0.3079, allocations: 32.36 kB / 0.8382 GB, free: 5.703 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008613/0.3088, allocations: 0.5047 MB / 0.8387 GB, free: 5.176 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.3088, allocations: 0 / 0.8387 GB, free: 5.176 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.649e-05/0.3088, allocations: 23.98 kB / 0.8387 GB, free: 5.152 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.317e-05/0.3089, allocations: 28.98 kB / 0.8387 GB, free: 5.125 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006922/0.3096, allocations: 383.6 kB / 0.8391 GB, free: 4.75 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002578/0.3122, allocations: 2.208 MB / 0.8413 GB, free: 2.312 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006962/0.3129, allocations: 254.7 kB / 0.8415 GB, free: 2.055 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003673/0.3133, allocations: 148.8 kB / 0.8417 GB, free: 1.906 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.703e-05/0.3133, allocations: 4 kB / 0.8417 GB, free: 1.902 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.3134, allocations: 38.56 kB / 0.8417 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=19): time 1.412e-06/0.3134, allocations: 4 kB / 0.8417 GB, free: 1.852 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19): time 0.001501/0.3149, allocations: 0.5621 MB / 0.8422 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/0.3149, allocations: 59.34 kB / 0.8423 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002304/0.3152, allocations: 228.9 kB / 0.8425 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.3152, allocations: 29.7 kB / 0.8426 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.3154, allocations: 211.7 kB / 0.8428 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.781e-05/0.3154, allocations: 71.02 kB / 0.8428 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.123e-05/0.3155, allocations: 53.61 kB / 0.8429 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.3157, allocations: 326.8 kB / 0.8432 GB, free: 244 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002195/0.3159, allocations: 96.8 kB / 0.8433 GB, free: 144 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00031/0.3162, allocations: 187.7 kB / 0.8435 GB, free: 15.91 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005218/0.3168, allocations: 277.2 kB / 0.8437 GB, free: 15.61 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3168, allocations: 0 / 0.8437 GB, free: 15.61 MB / 0.67 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009365/0.3177, allocations: 377.4 kB / 0.8441 GB, free: 15.23 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.3177, allocations: 4 kB / 0.8441 GB, free: 15.23 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/0.3178, allocations: 4 kB / 0.8441 GB, free: 15.22 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005405/0.3183, allocations: 113.7 kB / 0.8442 GB, free: 15.11 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002045/0.3185, allocations: 47.91 kB / 0.8442 GB, free: 15.06 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003579/0.3221, allocations: 3.043 MB / 0.8472 GB, free: 11.73 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002522/0.3224, allocations: 39.8 kB / 0.8472 GB, free: 11.69 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.3224, allocations: 8 kB / 0.8473 GB, free: 11.68 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004294/0.3228, allocations: 224 kB / 0.8475 GB, free: 11.46 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002641/0.3231, allocations: 176.6 kB / 0.8476 GB, free: 11.25 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004695/0.3236, allocations: 272.2 kB / 0.8479 GB, free: 10.95 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.264e-05/0.3236, allocations: 4 kB / 0.8479 GB, free: 10.95 MB / 0.67 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0008143/0.3244, allocations: 349.8 kB / 0.8482 GB, free: 10.59 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.3245, allocations: 10.75 kB / 0.8482 GB, free: 10.59 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.3245, allocations: 8 kB / 0.8483 GB, free: 10.58 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000297/0.3248, allocations: 81.09 kB / 0.8483 GB, free: 10.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002388/0.325, allocations: 63.89 kB / 0.8484 GB, free: 10.43 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00191/0.3269, allocations: 1.613 MB / 0.85 GB, free: 8.688 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002443/0.3272, allocations: 31.89 kB / 0.85 GB, free: 8.656 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.948e-05/0.3272, allocations: 15.94 kB / 0.85 GB, free: 8.641 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001422/0.3274, allocations: 192.7 kB / 0.8502 GB, free: 8.445 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.496e-05/0.3274, allocations: 23.72 kB / 0.8502 GB, free: 8.422 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.787e-05/0.3275, allocations: 30.17 kB / 0.8502 GB, free: 8.387 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3275, allocations: 4 kB / 0.8503 GB, free: 8.383 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.3275, allocations: 0 / 0.8503 GB, free: 8.383 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.3275, allocations: 3.938 kB / 0.8503 GB, free: 8.379 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001373/0.3289, allocations: 0.8211 MB / 0.8511 GB, free: 7.48 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.3289, allocations: 8.062 kB / 0.8511 GB, free: 7.473 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001402/0.3291, allocations: 31.92 kB / 0.8511 GB, free: 7.441 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003697/0.3295, allocations: 105.8 kB / 0.8512 GB, free: 7.332 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/0.3295, allocations: 8 kB / 0.8512 GB, free: 7.324 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002944/0.3324, allocations: 3.019 MB / 0.8542 GB, free: 4.031 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.3325, allocations: 3.984 kB / 0.8542 GB, free: 4.027 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007969/0.3333, allocations: 419 kB / 0.8546 GB, free: 3.59 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.3334, allocations: 116.7 kB / 0.8547 GB, free: 3.457 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.01e-05/0.3334, allocations: 8 kB / 0.8547 GB, free: 3.449 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/0.3336, allocations: 8 kB / 0.8547 GB, free: 3.441 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.045e-05/0.3337, allocations: 23.91 kB / 0.8547 GB, free: 3.418 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.3337, allocations: 8 kB / 0.8547 GB, free: 3.41 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0001747/0.3339, allocations: 164.5 kB / 0.8549 GB, free: 3.25 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3339, allocations: 0 / 0.8549 GB, free: 3.25 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008646/0.3348, allocations: 171.4 kB / 0.855 GB, free: 3.082 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001833/0.335, allocations: 103.2 kB / 0.8551 GB, free: 2.973 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002095/0.3371, allocations: 0.7607 MB / 0.8559 GB, free: 2.176 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.3371, allocations: 0 / 0.8559 GB, free: 2.176 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008229/0.3379, allocations: 377.7 kB / 0.8562 GB, free: 1.781 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004922/0.3384, allocations: 52.64 kB / 0.8563 GB, free: 1.734 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.3397, allocations: 0.574 MB / 0.8568 GB, free: 1.125 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000578/0.3403, allocations: 0.8107 MB / 0.8576 GB, free: 292 kB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002049/0.3405, allocations: 58.23 kB / 0.8577 GB, free: 232 kB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.966e-05/0.3406, allocations: 23.36 kB / 0.8577 GB, free: 208 kB / 0.67 GB Notification: Performance of SimCode: time 4.81e-07/0.3406, allocations: 4 kB / 0.8577 GB, free: 204 kB / 0.67 GB Notification: Performance of Templates: time 0.009743/0.3503, allocations: 4.731 MB / 0.8623 GB, free: 11.5 MB / 0.6856 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)