Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.436/2.436, allocations: 251.3 MB / 266.2 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001411/0.001411, allocations: 180.9 kB / 325.8 MB, free: 2.766 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.484/2.484, allocations: 205.4 MB / 0.5767 GB, free: 21.09 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001328/0.001327, allocations: 93.86 kB / 0.6812 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004823/0.0004825, allocations: 11.94 kB / 0.7953 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2184, allocations: 106.2 MB / 0.899 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.006891/0.2254, allocations: 3.37 MB / 0.9023 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004367/0.2298, allocations: 1.665 MB / 0.9039 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002629/0.2301, allocations: 7.938 kB / 0.9039 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003155/0.2305, allocations: 55.56 kB / 0.904 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0008203/0.2313, allocations: 191.1 kB / 0.9042 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.2323, allocations: 196.9 kB / 0.9044 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0009918/0.2334, allocations: 0.5725 MB / 0.9049 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006075/0.234, allocations: 352.3 kB / 0.9053 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003098/0.2343, allocations: 167.3 kB / 0.9054 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005499/0.2349, allocations: 207.3 kB / 0.9056 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.785e-05/0.235, allocations: 20 kB / 0.9056 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003867/0.2354, allocations: 95.81 kB / 0.9057 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001778/0.2356, allocations: 103.7 kB / 0.9058 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.2357, allocations: 89.52 kB / 0.9059 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006398/0.2364, allocations: 363 kB / 0.9063 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.2364, allocations: 0 / 0.9063 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.365e-06/0.2364, allocations: 3.938 kB / 0.9063 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.2364, allocations: 0 / 0.9063 GB, free: 58.4 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.001655/0.2381, allocations: 0.6005 MB / 0.9069 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.2382, allocations: 8.031 kB / 0.9069 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001157/0.2393, allocations: 88.39 kB / 0.9069 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000607/0.24, allocations: 287.7 kB / 0.9072 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.313e-05/0.24, allocations: 25.02 kB / 0.9072 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.315e-05/0.2401, allocations: 28.38 kB / 0.9073 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001637/0.2418, allocations: 498 kB / 0.9077 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/0.2418, allocations: 3.938 kB / 0.9078 GB, free: 56.76 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-05/0.2419, allocations: 15.98 kB / 0.9078 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001178/0.242, allocations: 44.56 kB / 0.9078 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001735/0.2438, allocations: 378.3 kB / 0.9082 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003614/0.2474, allocations: 2.056 MB / 0.9102 GB, free: 54.08 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001114/0.2486, allocations: 220.4 kB / 0.9104 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000818/0.2494, allocations: 172.7 kB / 0.9106 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.99e-05/0.2495, allocations: 4 kB / 0.9106 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.2495, allocations: 34.56 kB / 0.9106 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 3.907e-06/0.2496, allocations: 4 kB / 0.9106 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.002259/0.2518, allocations: 449 kB / 0.911 GB, free: 53.17 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.2519, allocations: 59.41 kB / 0.9111 GB, free: 53.1 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004293/0.2523, allocations: 266.5 kB / 0.9113 GB, free: 52.83 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.405e-05/0.2524, allocations: 29.7 kB / 0.9114 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.2526, allocations: 211.7 kB / 0.9116 GB, free: 52.58 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.553e-05/0.2527, allocations: 59.11 kB / 0.9116 GB, free: 52.52 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.641e-05/0.2527, allocations: 4 kB / 0.9116 GB, free: 52.52 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.26e-05/0.2528, allocations: 334.8 kB / 0.9119 GB, free: 52.18 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005703/0.2534, allocations: 108.5 kB / 0.912 GB, free: 52.08 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006639/0.2541, allocations: 211.6 kB / 0.9122 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006662/0.2548, allocations: 138.2 kB / 0.9124 GB, free: 51.69 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.2548, allocations: 0 / 0.9124 GB, free: 51.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001705/0.2565, allocations: 370.1 kB / 0.9127 GB, free: 51.32 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001242/0.2566, allocations: 198 kB / 0.9129 GB, free: 51.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.2567, allocations: 4 kB / 0.9129 GB, free: 51.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003372/0.257, allocations: 32.83 kB / 0.913 GB, free: 51.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006987/0.2577, allocations: 79.89 kB / 0.913 GB, free: 50.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001722/0.2595, allocations: 1.331 MB / 0.9143 GB, free: 49.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006235/0.2601, allocations: 47.61 kB / 0.9144 GB, free: 49.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.156e-05/0.2602, allocations: 16 kB / 0.9144 GB, free: 49.43 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.2602, allocations: 5.562 kB / 0.9144 GB, free: 49.43 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00137/0.2616, allocations: 299.7 kB / 0.9147 GB, free: 49.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.2616, allocations: 7.984 kB / 0.9147 GB, free: 49.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.2617, allocations: 4 kB / 0.9147 GB, free: 49.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006777/0.2624, allocations: 76.03 kB / 0.9148 GB, free: 49.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/0.2624, allocations: 19.92 kB / 0.9148 GB, free: 49.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00052/0.2629, allocations: 35.73 kB / 0.9148 GB, free: 48.99 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.274e-05/0.263, allocations: 12 kB / 0.9148 GB, free: 48.98 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.0003142/0.2633, allocations: 249 kB / 0.9151 GB, free: 48.73 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.2634, allocations: 27.7 kB / 0.9151 GB, free: 48.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.128e-05/0.2635, allocations: 38.11 kB / 0.9151 GB, free: 48.66 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.2635, allocations: 4 kB / 0.9151 GB, free: 48.66 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.2636, allocations: 0 / 0.9151 GB, free: 48.66 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.2636, allocations: 0 / 0.9151 GB, free: 48.66 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002229/0.2658, allocations: 0.7785 MB / 0.9159 GB, free: 47.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.2658, allocations: 0 / 0.9159 GB, free: 47.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004681/0.2663, allocations: 48.03 kB / 0.9159 GB, free: 47.76 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001984/0.2665, allocations: 24.84 kB / 0.916 GB, free: 47.73 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.76e-05/0.2666, allocations: 4 kB / 0.916 GB, free: 47.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001315/0.2679, allocations: 1.319 MB / 0.9173 GB, free: 46.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.2679, allocations: 3.938 kB / 0.9173 GB, free: 46.27 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001328/0.2693, allocations: 393.7 kB / 0.9176 GB, free: 45.86 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001862/0.2695, allocations: 116.7 kB / 0.9177 GB, free: 45.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.04e-05/0.2696, allocations: 11.94 kB / 0.9178 GB, free: 45.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004696/0.2701, allocations: 19.98 kB / 0.9178 GB, free: 45.69 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.565e-05/0.2702, allocations: 15.98 kB / 0.9178 GB, free: 45.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.844e-05/0.2702, allocations: 11.98 kB / 0.9178 GB, free: 45.66 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002968/0.2705, allocations: 178 kB / 0.918 GB, free: 45.49 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.81e-07/0.2706, allocations: 0 / 0.918 GB, free: 45.49 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001326/0.2719, allocations: 139.6 kB / 0.9181 GB, free: 45.35 MB / 0.6042 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 (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.0001507/0.2721, allocations: 107.1 kB / 0.9182 GB, free: 45.23 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0022/0.2743, allocations: 0.5147 MB / 0.9187 GB, free: 44.71 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.2743, allocations: 8 kB / 0.9187 GB, free: 44.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001072/0.2754, allocations: 222.6 kB / 0.9189 GB, free: 44.47 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.2767, allocations: 66.88 kB / 0.919 GB, free: 44.41 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002032/0.2788, allocations: 0.6568 MB / 0.9196 GB, free: 43.72 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004522/0.2793, allocations: 0.8035 MB / 0.9204 GB, free: 42.89 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0006507/0.28, allocations: 70.22 kB / 0.9205 GB, free: 42.82 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.2802, allocations: 19.44 kB / 0.9205 GB, free: 42.8 MB / 0.6042 GB Notification: Performance of SimCode: time 1.282e-06/0.2802, allocations: 0 / 0.9205 GB, free: 42.8 MB / 0.6042 GB Notification: Performance of Templates: time 0.0149/0.2951, allocations: 3.122 MB / 0.9236 GB, free: 39.71 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)