Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.351/2.351, allocations: 251.1 MB / 266.7 MB, free: 11.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001443/0.001443, allocations: 181.8 kB / 326.3 MB, free: 2.855 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.524/2.524, allocations: 205.4 MB / 0.5772 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009854/0.0009852, allocations: 90.05 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004829/0.000483, allocations: 14.78 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2269, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.007538/0.2345, allocations: 3.362 MB / 0.9028 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.005144/0.2397, allocations: 1.665 MB / 0.9044 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00042/0.2402, allocations: 4 kB / 0.9044 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003956/0.2406, allocations: 55.5 kB / 0.9045 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00109/0.2417, allocations: 195.1 kB / 0.9047 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001276/0.243, allocations: 193.6 kB / 0.9048 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00126/0.2443, allocations: 0.5763 MB / 0.9054 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00074/0.2451, allocations: 352.3 kB / 0.9057 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003865/0.2455, allocations: 159.4 kB / 0.9059 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006494/0.2462, allocations: 215.3 kB / 0.9061 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.315e-05/0.2463, allocations: 19.94 kB / 0.9061 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004147/0.2468, allocations: 83.88 kB / 0.9062 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000179/0.247, allocations: 119.7 kB / 0.9063 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.2471, allocations: 85.52 kB / 0.9064 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006326/0.2477, allocations: 359.4 kB / 0.9067 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.2478, allocations: 0 / 0.9067 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.615e-06/0.2478, allocations: 4 kB / 0.9067 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.2478, allocations: 0 / 0.9067 GB, free: 58.07 MB / 0.6042 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.0017/0.2495, allocations: 0.6005 MB / 0.9073 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.931e-05/0.2496, allocations: 8.031 kB / 0.9073 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001074/0.2507, allocations: 92.41 kB / 0.9074 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005929/0.2513, allocations: 283.7 kB / 0.9077 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.529e-05/0.2514, allocations: 24.97 kB / 0.9077 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.268e-05/0.2515, allocations: 32.31 kB / 0.9077 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001588/0.2531, allocations: 0.4902 MB / 0.9082 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.463e-05/0.2531, allocations: 0 / 0.9082 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.981e-05/0.2532, allocations: 16 kB / 0.9082 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001158/0.2533, allocations: 36.62 kB / 0.9083 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001791/0.2551, allocations: 386.2 kB / 0.9086 GB, free: 56 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002819/0.258, allocations: 2.052 MB / 0.9106 GB, free: 53.75 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008587/0.2589, allocations: 222.8 kB / 0.9109 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006088/0.2595, allocations: 170.3 kB / 0.911 GB, free: 53.35 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.846e-05/0.2596, allocations: 7.922 kB / 0.911 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.2596, allocations: 34.56 kB / 0.9111 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 2.795e-06/0.2596, allocations: 0 / 0.9111 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.001696/0.2613, allocations: 451.1 kB / 0.9115 GB, free: 52.83 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.468e-05/0.2614, allocations: 55.41 kB / 0.9115 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003692/0.2618, allocations: 258.6 kB / 0.9118 GB, free: 52.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.26e-05/0.2618, allocations: 29.7 kB / 0.9118 GB, free: 52.47 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.262, allocations: 211.7 kB / 0.912 GB, free: 52.26 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.875e-05/0.262, allocations: 63.09 kB / 0.9121 GB, free: 52.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.807e-05/0.2621, allocations: 12 kB / 0.9121 GB, free: 52.18 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.717e-05/0.2622, allocations: 342.8 kB / 0.9124 GB, free: 51.84 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004044/0.2626, allocations: 100.5 kB / 0.9125 GB, free: 51.74 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004549/0.263, allocations: 209.2 kB / 0.9127 GB, free: 51.49 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004565/0.2635, allocations: 135.8 kB / 0.9128 GB, free: 51.36 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.2635, allocations: 0 / 0.9128 GB, free: 51.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001205/0.2648, allocations: 380 kB / 0.9132 GB, free: 50.98 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.000102/0.2649, allocations: 186.1 kB / 0.9134 GB, free: 50.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.2649, allocations: 7.938 kB / 0.9134 GB, free: 50.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002811/0.2652, allocations: 40.83 kB / 0.9134 GB, free: 50.69 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005203/0.2657, allocations: 71.84 kB / 0.9135 GB, free: 50.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001303/0.2671, allocations: 1.331 MB / 0.9148 GB, free: 49.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004706/0.2676, allocations: 47.77 kB / 0.9148 GB, free: 49.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.293e-05/0.2676, allocations: 16 kB / 0.9149 GB, free: 49.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.418e-06/0.2676, allocations: 7.938 kB / 0.9149 GB, free: 49.09 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009742/0.2686, allocations: 289.2 kB / 0.9151 GB, free: 48.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.2686, allocations: 4.469 kB / 0.9151 GB, free: 48.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.2687, allocations: 12 kB / 0.9152 GB, free: 48.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005073/0.2692, allocations: 75.89 kB / 0.9152 GB, free: 48.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.2692, allocations: 11.88 kB / 0.9152 GB, free: 48.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004046/0.2696, allocations: 51.66 kB / 0.9153 GB, free: 48.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.788e-05/0.2697, allocations: 16 kB / 0.9153 GB, free: 48.64 MB / 0.6042 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 (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.0002652/0.2699, allocations: 241 kB / 0.9155 GB, free: 48.39 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.196e-05/0.27, allocations: 23.72 kB / 0.9156 GB, free: 48.37 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.523e-05/0.2701, allocations: 34.17 kB / 0.9156 GB, free: 48.34 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.2701, allocations: 3.938 kB / 0.9156 GB, free: 48.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.2701, allocations: 0 / 0.9156 GB, free: 48.34 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.2703, allocations: 120.7 kB / 0.9157 GB, free: 48.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.458e-05/0.2703, allocations: 4 kB / 0.9157 GB, free: 48.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003078/0.2706, allocations: 23.98 kB / 0.9157 GB, free: 48.17 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.278e-05/0.2707, allocations: 11.98 kB / 0.9157 GB, free: 48.16 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00116/0.2719, allocations: 365.5 kB / 0.9161 GB, free: 47.79 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001233/0.2732, allocations: 0.5177 MB / 0.9166 GB, free: 47.26 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004043/0.2736, allocations: 100 kB / 0.9167 GB, free: 47.16 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002148/0.2738, allocations: 189.9 kB / 0.9169 GB, free: 46.98 MB / 0.6042 GB Notification: Performance of Backend: time 9.02e-07/0.2738, allocations: 0 / 0.9169 GB, free: 46.98 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001771/0.2756, allocations: 0.5339 MB / 0.9174 GB, free: 46.43 MB / 0.6042 GB Notification: Performance of SimCode: time 0.001446/0.2771, allocations: 1.124 MB / 0.9185 GB, free: 45.25 MB / 0.6042 GB Notification: Performance of Templates: time 0.0119/0.289, allocations: 4.307 MB / 0.9227 GB, free: 40.97 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)