Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001526/0.001526, allocations: 190.4 kB / 16.14 MB, free: 6.703 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.439/1.439, allocations: 205.1 MB / 222 MB, free: 4.793 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.811/1.811, allocations: 292.2 MB / 0.5484 GB, free: 13.68 MB / 462.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.001279/0.001279, allocations: 61.06 kB / 0.6708 GB, free: 26.62 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2511, allocations: 114.6 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.005509/0.2566, allocations: 3.864 MB / 0.7864 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00261/0.2593, allocations: 1.77 MB / 0.7882 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000197/0.2595, allocations: 7.938 kB / 0.7882 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001152/0.2607, allocations: 426.6 kB / 0.7886 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005104/0.2612, allocations: 235 kB / 0.7888 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006246/0.2619, allocations: 236.1 kB / 0.789 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005803/0.2625, allocations: 0.6973 MB / 0.7897 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003795/0.2629, allocations: 237 kB / 0.7899 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001704/0.263, allocations: 167.4 kB / 0.7901 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003359/0.2634, allocations: 247.1 kB / 0.7903 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.494e-05/0.2634, allocations: 20 kB / 0.7904 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003542/0.2638, allocations: 231.5 kB / 0.7906 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.2639, allocations: 119.6 kB / 0.7907 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001616/0.2641, allocations: 175.1 kB / 0.7909 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004528/0.2645, allocations: 498.6 kB / 0.7913 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2646, allocations: 0 / 0.7913 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.11e-07/0.2646, allocations: 0 / 0.7913 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.2646, allocations: 0 / 0.7913 GB, free: 5.105 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001104/0.2657, allocations: 0.6588 MB / 0.792 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.2657, allocations: 12.03 kB / 0.792 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005381/0.2663, allocations: 84.41 kB / 0.7921 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003522/0.2666, allocations: 295.2 kB / 0.7924 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.2667, allocations: 25.02 kB / 0.7924 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.04e-05/0.2667, allocations: 32.38 kB / 0.7924 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007539/0.2675, allocations: 489.9 kB / 0.7929 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.2675, allocations: 4 kB / 0.7929 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.152e-05/0.2675, allocations: 12 kB / 0.7929 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-05/0.2676, allocations: 36.64 kB / 0.7929 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006821/0.2683, allocations: 366.2 kB / 0.7933 GB, free: 3 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001915/0.2702, allocations: 2.048 MB / 0.7953 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005269/0.2707, allocations: 214.7 kB / 0.7955 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003475/0.2711, allocations: 156.6 kB / 0.7956 GB, free: 384 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.2711, allocations: 7.984 kB / 0.7956 GB, free: 376 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.2712, allocations: 34.56 kB / 0.7957 GB, free: 332 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.473e-06/0.2712, allocations: 0 / 0.7957 GB, free: 332 kB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.00102/0.2722, allocations: 425.4 kB / 0.7961 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.2722, allocations: 55.34 kB / 0.7961 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000223/0.2725, allocations: 262.6 kB / 0.7964 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.2725, allocations: 29.7 kB / 0.7964 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.2726, allocations: 207.7 kB / 0.7966 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.091e-05/0.2727, allocations: 59.11 kB / 0.7967 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.128e-05/0.2728, allocations: 61.89 kB / 0.7967 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.617e-05/0.2729, allocations: 338.8 kB / 0.797 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002435/0.2731, allocations: 101.9 kB / 0.7971 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002769/0.2734, allocations: 199.6 kB / 0.7973 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004923/0.2739, allocations: 305.4 kB / 0.7976 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.2739, allocations: 4 kB / 0.7976 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006911/0.2746, allocations: 356.6 kB / 0.798 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.2746, allocations: 8 kB / 0.798 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.2746, allocations: 4 kB / 0.798 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001988/0.2748, allocations: 40.77 kB / 0.798 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002638/0.2751, allocations: 67.89 kB / 0.7981 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001051/0.2762, allocations: 1.343 MB / 0.7994 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002383/0.2764, allocations: 39.67 kB / 0.7994 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.2765, allocations: 16 kB / 0.7994 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003186/0.2768, allocations: 213.2 kB / 0.7997 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002821/0.2771, allocations: 209.3 kB / 0.7998 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004828/0.2776, allocations: 327.1 kB / 0.8002 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.764e-06/0.2776, allocations: 0 / 0.8002 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006045/0.2782, allocations: 332.9 kB / 0.8005 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.696e-06/0.2782, allocations: 8 kB / 0.8005 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.2782, allocations: 7.938 kB / 0.8005 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.611e-06/0.2782, allocations: 8 kB / 0.8005 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002617/0.2785, allocations: 75.83 kB / 0.8006 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.2785, allocations: 8.422 kB / 0.8006 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002276/0.2788, allocations: 35.83 kB / 0.8006 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.793e-05/0.2788, allocations: 19.94 kB / 0.8006 GB, free: 10.8 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001154/0.2789, allocations: 192.2 kB / 0.8008 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.917e-05/0.279, allocations: 27.66 kB / 0.8008 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.433e-05/0.279, allocations: 34.17 kB / 0.8009 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-06/0.279, allocations: 4 kB / 0.8009 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.279, allocations: 0 / 0.8009 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.279, allocations: 4 kB / 0.8009 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.2801, allocations: 0.7498 MB / 0.8016 GB, free: 9.711 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.2801, allocations: 4.062 kB / 0.8016 GB, free: 9.707 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001813/0.2803, allocations: 43.91 kB / 0.8017 GB, free: 9.664 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.596e-05/0.2804, allocations: 28.83 kB / 0.8017 GB, free: 9.633 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.2804, allocations: 4 kB / 0.8017 GB, free: 9.629 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008296/0.2813, allocations: 1.319 MB / 0.803 GB, free: 8.172 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2813, allocations: 0 / 0.803 GB, free: 8.172 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000558/0.2818, allocations: 361 kB / 0.8033 GB, free: 7.797 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.152e-05/0.2819, allocations: 124.7 kB / 0.8034 GB, free: 7.656 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.909e-05/0.282, allocations: 7.938 kB / 0.8035 GB, free: 7.648 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/0.2822, allocations: 19.98 kB / 0.8035 GB, free: 7.629 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.44e-05/0.2822, allocations: 19.91 kB / 0.8035 GB, free: 7.609 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.2822, allocations: 8 kB / 0.8035 GB, free: 7.602 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001439/0.2824, allocations: 182 kB / 0.8037 GB, free: 7.426 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2824, allocations: 4 kB / 0.8037 GB, free: 7.422 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005202/0.2829, allocations: 143.5 kB / 0.8038 GB, free: 7.281 MB / 0.6231 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 (18): * Single equations (assignments): 17 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001103/0.283, allocations: 99.25 kB / 0.8039 GB, free: 7.172 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009311/0.284, allocations: 491.6 kB / 0.8044 GB, free: 6.68 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.284, allocations: 0 / 0.8044 GB, free: 6.68 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003124/0.2843, allocations: 222.5 kB / 0.8046 GB, free: 6.449 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004644/0.2848, allocations: 73.73 kB / 0.8047 GB, free: 6.383 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009841/0.2858, allocations: 0.6651 MB / 0.8053 GB, free: 5.688 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004397/0.2862, allocations: 0.8074 MB / 0.8061 GB, free: 4.852 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002311/0.2865, allocations: 74.2 kB / 0.8062 GB, free: 4.781 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.273e-05/0.2865, allocations: 19.44 kB / 0.8062 GB, free: 4.762 MB / 0.6231 GB Notification: Performance of SimCode: time 3.31e-07/0.2865, allocations: 4 kB / 0.8062 GB, free: 4.758 MB / 0.6231 GB Notification: Performance of Templates: time 0.006464/0.293, allocations: 3.244 MB / 0.8094 GB, free: 1.547 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)