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.001062/0.001062, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001159/0.001159, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.553/1.553, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.686/1.686, allocations: 292.5 MB / 0.5497 GB, free: 14.6 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.0005078/0.0005079, allocations: 17.23 kB / 0.6735 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.247, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.003754/0.2508, allocations: 3.289 MB / 0.7903 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002256/0.253, allocations: 1.638 MB / 0.7919 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.2532, allocations: 7.938 kB / 0.7919 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001628/0.2534, allocations: 55.67 kB / 0.792 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003658/0.2537, allocations: 163.4 kB / 0.7921 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004566/0.2542, allocations: 202.1 kB / 0.7923 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003764/0.2546, allocations: 287.4 kB / 0.7926 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000421/0.255, allocations: 338.8 kB / 0.7929 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001607/0.2552, allocations: 131.5 kB / 0.7931 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002634/0.2555, allocations: 163.3 kB / 0.7932 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.623e-05/0.2555, allocations: 16 kB / 0.7932 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001713/0.2557, allocations: 79.81 kB / 0.7933 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.2558, allocations: 103.8 kB / 0.7934 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.326e-05/0.2559, allocations: 89.52 kB / 0.7935 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003542/0.2562, allocations: 359.3 kB / 0.7938 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.2562, allocations: 0 / 0.7938 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.076e-06/0.2563, allocations: 0 / 0.7938 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.2563, allocations: 7.938 kB / 0.7938 GB, free: 5.012 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.0009729/0.2572, allocations: 0.604 MB / 0.7944 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.2573, allocations: 8.031 kB / 0.7944 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005287/0.2578, allocations: 91.42 kB / 0.7945 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004337/0.2583, allocations: 290.2 kB / 0.7948 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.702e-05/0.2583, allocations: 24.64 kB / 0.7948 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.647e-05/0.2583, allocations: 36 kB / 0.7949 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008534/0.2592, allocations: 489.8 kB / 0.7953 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.2592, allocations: 0 / 0.7953 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.306e-05/0.2593, allocations: 15.98 kB / 0.7953 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.797e-05/0.2593, allocations: 40.62 kB / 0.7954 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008018/0.2601, allocations: 386.2 kB / 0.7957 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002142/0.2623, allocations: 2.045 MB / 0.7977 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006099/0.2629, allocations: 226.7 kB / 0.798 GB, free: 472 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.2629, allocations: 0 / 0.798 GB, free: 472 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.695e-05/0.263, allocations: 38.56 kB / 0.798 GB, free: 424 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.052e-06/0.263, allocations: 0 / 0.798 GB, free: 424 kB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.001203/0.2642, allocations: 474 kB / 0.7984 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.2643, allocations: 51.41 kB / 0.7985 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003272/0.2646, allocations: 270.6 kB / 0.7988 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/0.2646, allocations: 29.7 kB / 0.7988 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.2648, allocations: 211.7 kB / 0.799 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.091e-05/0.2649, allocations: 59.11 kB / 0.799 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.289e-05/0.2649, allocations: 4 kB / 0.799 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.2651, allocations: 338.8 kB / 0.7994 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002523/0.2653, allocations: 108.5 kB / 0.7995 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003543/0.2657, allocations: 210.7 kB / 0.7997 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002821/0.266, allocations: 135.9 kB / 0.7998 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.266, allocations: 0 / 0.7998 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007856/0.2668, allocations: 382.1 kB / 0.8002 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008692/0.2677, allocations: 1.315 MB / 0.8015 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.2677, allocations: 4 kB / 0.8015 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002099/0.2679, allocations: 32.83 kB / 0.8015 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002677/0.2682, allocations: 79.77 kB / 0.8016 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001119/0.2693, allocations: 1.343 MB / 0.8029 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002554/0.2696, allocations: 55.52 kB / 0.8029 GB, free: 11 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/0.2696, allocations: 8 kB / 0.8029 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.562e-06/0.2696, allocations: 4 kB / 0.8029 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005801/0.2702, allocations: 306.5 kB / 0.8032 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2702, allocations: 4 kB / 0.8032 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.472e-06/0.2702, allocations: 7.953 kB / 0.8032 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002685/0.2705, allocations: 75.89 kB / 0.8033 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.614e-05/0.2705, allocations: 11.92 kB / 0.8033 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002111/0.2707, allocations: 40.02 kB / 0.8034 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.2708, allocations: 12 kB / 0.8034 GB, free: 10.54 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002193/0.271, allocations: 249 kB / 0.8036 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.57e-05/0.271, allocations: 23.72 kB / 0.8036 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.614e-05/0.2711, allocations: 38.12 kB / 0.8037 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.2711, allocations: 3.984 kB / 0.8037 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.2711, allocations: 4 kB / 0.8037 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.2711, allocations: 4 kB / 0.8037 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004114/0.2716, allocations: 349.4 kB / 0.804 GB, free: 9.828 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.2716, allocations: 3.984 kB / 0.804 GB, free: 9.824 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002003/0.2718, allocations: 47.91 kB / 0.8041 GB, free: 9.777 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.95e-05/0.2719, allocations: 20.84 kB / 0.8041 GB, free: 9.754 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.2719, allocations: 8 kB / 0.8041 GB, free: 9.746 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001025/0.2729, allocations: 1.327 MB / 0.8054 GB, free: 8.285 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2729, allocations: 0 / 0.8054 GB, free: 8.285 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005861/0.2735, allocations: 379.2 kB / 0.8058 GB, free: 7.898 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.2737, allocations: 120.7 kB / 0.8059 GB, free: 7.762 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.942e-05/0.2737, allocations: 7.953 kB / 0.8059 GB, free: 7.754 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001812/0.2739, allocations: 23.98 kB / 0.8059 GB, free: 7.73 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.637e-05/0.2739, allocations: 11.97 kB / 0.8059 GB, free: 7.719 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.274, allocations: 11.94 kB / 0.8059 GB, free: 7.707 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001864/0.2742, allocations: 178 kB / 0.8061 GB, free: 7.531 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2742, allocations: 0 / 0.8061 GB, free: 7.531 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004951/0.2747, allocations: 151.5 kB / 0.8062 GB, free: 7.383 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001433/0.2748, allocations: 97.92 kB / 0.8063 GB, free: 7.277 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001043/0.2759, allocations: 0.5229 MB / 0.8068 GB, free: 6.742 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.2759, allocations: 4 kB / 0.8068 GB, free: 6.738 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003275/0.2762, allocations: 230.6 kB / 0.8071 GB, free: 6.5 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.2766, allocations: 60.72 kB / 0.8071 GB, free: 6.441 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008374/0.2774, allocations: 0.6494 MB / 0.8078 GB, free: 5.766 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003777/0.2778, allocations: 0.8033 MB / 0.8085 GB, free: 4.934 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002155/0.278, allocations: 82.19 kB / 0.8086 GB, free: 4.855 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.489e-05/0.2781, allocations: 23.44 kB / 0.8086 GB, free: 4.832 MB / 0.6231 GB Notification: Performance of SimCode: time 2.41e-07/0.2781, allocations: 0 / 0.8086 GB, free: 4.832 MB / 0.6231 GB Notification: Performance of Templates: time 0.006063/0.2842, allocations: 3.062 MB / 0.8116 GB, free: 1.805 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: