Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.393/1.393, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.001064/0.001064, allocations: 181 kB / 326.5 MB, free: 2.703 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.591/1.591, allocations: 205 MB / 0.5766 GB, free: 21.04 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.0007559/0.0007559, allocations: 95.41 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004705/0.0004709, allocations: 12.34 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2229, allocations: 105.4 MB / 0.8967 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.004039/0.227, allocations: 3.55 MB / 0.9002 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002889/0.23, allocations: 1.781 MB / 0.9019 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004354/0.2305, allocations: 8 kB / 0.902 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001289/0.2318, allocations: 426.5 kB / 0.9024 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006625/0.2324, allocations: 227 kB / 0.9026 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006477/0.2331, allocations: 230 kB / 0.9028 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0007481/0.2339, allocations: 0.7051 MB / 0.9035 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000546/0.2344, allocations: 240.8 kB / 0.9037 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003535/0.2348, allocations: 159.3 kB / 0.9039 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005169/0.2353, allocations: 223.2 kB / 0.9041 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.346e-05/0.2354, allocations: 16 kB / 0.9041 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004784/0.2359, allocations: 223.5 kB / 0.9043 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001648/0.2361, allocations: 119.7 kB / 0.9044 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002242/0.2363, allocations: 159.1 kB / 0.9046 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006129/0.2369, allocations: 490.3 kB / 0.905 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.2369, allocations: 0 / 0.905 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.424e-06/0.237, allocations: 0 / 0.905 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.664e-05/0.237, allocations: 0 / 0.905 GB, free: 59.67 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.001099/0.2381, allocations: 0.5965 MB / 0.9056 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/0.2381, allocations: 8.031 kB / 0.9056 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006175/0.2388, allocations: 84.41 kB / 0.9057 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003659/0.2391, allocations: 303.3 kB / 0.906 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.2392, allocations: 21.03 kB / 0.906 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.86e-05/0.2392, allocations: 32.36 kB / 0.9061 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007371/0.24, allocations: 0.4902 MB / 0.9065 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.24, allocations: 4 kB / 0.9065 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.475e-05/0.24, allocations: 12 kB / 0.9065 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.107e-05/0.2401, allocations: 36.62 kB / 0.9066 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006938/0.2408, allocations: 390.2 kB / 0.907 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00174/0.2426, allocations: 2.052 MB / 0.909 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005112/0.2431, allocations: 230.6 kB / 0.9092 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003386/0.2434, allocations: 168.8 kB / 0.9093 GB, free: 54.94 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.882e-05/0.2435, allocations: 0 / 0.9093 GB, free: 54.94 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.2435, allocations: 38.56 kB / 0.9094 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.342e-06/0.2435, allocations: 0 / 0.9094 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.00101/0.2445, allocations: 451 kB / 0.9098 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.03e-05/0.2445, allocations: 55.41 kB / 0.9099 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001927/0.2447, allocations: 266.6 kB / 0.9101 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.2448, allocations: 25.7 kB / 0.9101 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.006e-05/0.2449, allocations: 223.6 kB / 0.9104 GB, free: 53.83 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.122e-05/0.2449, allocations: 59.11 kB / 0.9104 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.72e-05/0.245, allocations: 29.7 kB / 0.9104 GB, free: 53.74 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.982e-05/0.245, allocations: 334.8 kB / 0.9108 GB, free: 53.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002225/0.2452, allocations: 108.5 kB / 0.9109 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000249/0.2455, allocations: 215.6 kB / 0.9111 GB, free: 53.04 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004755/0.246, allocations: 328.4 kB / 0.9114 GB, free: 52.67 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.246, allocations: 4 kB / 0.9114 GB, free: 52.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006861/0.2467, allocations: 377.9 kB / 0.9117 GB, free: 52.29 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.82e-05/0.2468, allocations: 194.1 kB / 0.9119 GB, free: 52.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.2468, allocations: 11.88 kB / 0.9119 GB, free: 52.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001958/0.247, allocations: 32.83 kB / 0.912 GB, free: 52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002461/0.2473, allocations: 75.89 kB / 0.912 GB, free: 51.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008973/0.2482, allocations: 1.337 MB / 0.9133 GB, free: 50.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002402/0.2484, allocations: 47.67 kB / 0.9134 GB, free: 50.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.895e-05/0.2484, allocations: 12 kB / 0.9134 GB, free: 50.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.372e-06/0.2485, allocations: 4 kB / 0.9134 GB, free: 50.39 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005273/0.249, allocations: 299.7 kB / 0.9137 GB, free: 50.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.249, allocations: 3.984 kB / 0.9137 GB, free: 50.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.31e-06/0.249, allocations: 8 kB / 0.9137 GB, free: 50.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002421/0.2493, allocations: 79.83 kB / 0.9138 GB, free: 50.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.2493, allocations: 20.05 kB / 0.9138 GB, free: 49.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001973/0.2495, allocations: 35.83 kB / 0.9138 GB, free: 49.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/0.2495, allocations: 16 kB / 0.9139 GB, free: 49.94 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 (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.0001382/0.2497, allocations: 242.3 kB / 0.9141 GB, free: 49.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.325e-05/0.2497, allocations: 23.72 kB / 0.9141 GB, free: 49.67 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.841e-05/0.2498, allocations: 34.17 kB / 0.9141 GB, free: 49.64 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.2498, allocations: 7.938 kB / 0.9141 GB, free: 49.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.2498, allocations: 0 / 0.9141 GB, free: 49.63 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.71e-05/0.2499, allocations: 124.6 kB / 0.9143 GB, free: 49.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.738e-05/0.2499, allocations: 8 kB / 0.9143 GB, free: 49.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.2501, allocations: 19.98 kB / 0.9143 GB, free: 49.46 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.965e-05/0.2501, allocations: 15.97 kB / 0.9143 GB, free: 49.45 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000648/0.2508, allocations: 367.5 kB / 0.9147 GB, free: 49.08 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0006553/0.2515, allocations: 0.5139 MB / 0.9152 GB, free: 48.55 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001985/0.2517, allocations: 100.6 kB / 0.9153 GB, free: 48.45 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001187/0.2518, allocations: 190 kB / 0.9154 GB, free: 48.27 MB / 0.6042 GB Notification: Performance of Backend: time 4.51e-07/0.2518, allocations: 4 kB / 0.9154 GB, free: 48.26 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001192/0.253, allocations: 0.598 MB / 0.916 GB, free: 47.65 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0009243/0.2539, allocations: 1.142 MB / 0.9171 GB, free: 46.45 MB / 0.6042 GB Notification: Performance of Templates: time 0.0077/0.2616, allocations: 4.419 MB / 0.9215 GB, free: 42.07 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)