Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad") translateModel(IBPSA.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001201/0.001202, allocations: 101.1 kB / 16.27 MB, free: 5.848 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.001241/0.001241, allocations: 187.4 kB / 17.19 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8177/0.8177, allocations: 122.9 MB / 413.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 67.88 kB / 0.4911 GB, free: 7.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4172/0.4186, allocations: 77.92 MB / 0.5672 GB, free: 32.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.VariableLoad): time 0.005283/0.4239, allocations: 3.828 MB / 0.5709 GB, free: 30.05 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002702/0.4266, allocations: 1.772 MB / 0.5727 GB, free: 28.85 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002048/0.4269, allocations: 7.062 kB / 0.5727 GB, free: 28.85 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001417/0.4283, allocations: 450.1 kB / 0.5731 GB, free: 28.59 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006067/0.4289, allocations: 240.8 kB / 0.5733 GB, free: 28.46 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007365/0.4297, allocations: 262.7 kB / 0.5736 GB, free: 28.33 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006614/0.4303, allocations: 0.4905 MB / 0.5741 GB, free: 28.12 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007371/0.4311, allocations: 362.9 kB / 0.5744 GB, free: 27.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003164/0.4314, allocations: 197 kB / 0.5746 GB, free: 27.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004798/0.4319, allocations: 236.6 kB / 0.5748 GB, free: 27.8 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.308e-05/0.432, allocations: 30.5 kB / 0.5748 GB, free: 27.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004691/0.4324, allocations: 189.5 kB / 0.575 GB, free: 27.73 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002069/0.4327, allocations: 132 kB / 0.5752 GB, free: 27.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002202/0.4329, allocations: 176.1 kB / 0.5753 GB, free: 27.58 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006642/0.4336, allocations: 489.9 kB / 0.5758 GB, free: 27.41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.4336, allocations: 5.188 kB / 0.5758 GB, free: 27.4 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4336, allocations: 4.938 kB / 0.5758 GB, free: 27.4 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.356e-05/0.4336, allocations: 0 / 0.5758 GB, free: 27.4 MB / 446.1 MB 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.001144/0.4348, allocations: 0.6644 MB / 0.5764 GB, free: 26.87 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.4348, allocations: 10.31 kB / 0.5765 GB, free: 26.87 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006255/0.4354, allocations: 82.27 kB / 0.5765 GB, free: 26.85 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003412/0.4358, allocations: 294.8 kB / 0.5768 GB, free: 26.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.179e-05/0.4358, allocations: 24.7 kB / 0.5768 GB, free: 26.58 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.65e-05/0.4359, allocations: 29.31 kB / 0.5769 GB, free: 26.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009261/0.4368, allocations: 490.8 kB / 0.5773 GB, free: 26.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.4369, allocations: 5.469 kB / 0.5773 GB, free: 26.34 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.894e-05/0.4369, allocations: 16.36 kB / 0.5774 GB, free: 26.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.697e-05/0.437, allocations: 38.36 kB / 0.5774 GB, free: 26.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008342/0.4378, allocations: 368.4 kB / 0.5777 GB, free: 26.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001818/0.4397, allocations: 2.039 MB / 0.5797 GB, free: 24.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000674/0.4403, allocations: 214.4 kB / 0.5799 GB, free: 24.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004661/0.4408, allocations: 153.8 kB / 0.5801 GB, free: 24.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.4409, allocations: 3.141 kB / 0.5801 GB, free: 24.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.4409, allocations: 39.5 kB / 0.5801 GB, free: 24.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 3.366e-06/0.4409, allocations: 0 / 0.5801 GB, free: 24.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.001117/0.442, allocations: 422 kB / 0.5805 GB, free: 24.09 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.4421, allocations: 55.72 kB / 0.5806 GB, free: 24.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002763/0.4424, allocations: 268.3 kB / 0.5808 GB, free: 23.87 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.4424, allocations: 35.02 kB / 0.5809 GB, free: 23.83 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.973e-05/0.4425, allocations: 201.7 kB / 0.5811 GB, free: 23.64 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.463e-05/0.4425, allocations: 66.67 kB / 0.5811 GB, free: 23.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.924e-05/0.4426, allocations: 55.89 kB / 0.5812 GB, free: 23.54 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.772e-05/0.4427, allocations: 340.2 kB / 0.5815 GB, free: 23.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002356/0.4429, allocations: 100.2 kB / 0.5816 GB, free: 23.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002894/0.4432, allocations: 201.2 kB / 0.5818 GB, free: 22.97 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005152/0.4438, allocations: 307.1 kB / 0.5821 GB, free: 22.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.4438, allocations: 1.25 kB / 0.5821 GB, free: 22.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007513/0.4445, allocations: 361.7 kB / 0.5824 GB, free: 22.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.4446, allocations: 6.875 kB / 0.5824 GB, free: 22.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.4446, allocations: 4.906 kB / 0.5824 GB, free: 22.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002071/0.4448, allocations: 31.7 kB / 0.5825 GB, free: 22.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002603/0.4451, allocations: 69.89 kB / 0.5825 GB, free: 22.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009712/0.446, allocations: 1.448 MB / 0.584 GB, free: 21.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002642/0.4463, allocations: 41.08 kB / 0.584 GB, free: 21.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.645e-05/0.4464, allocations: 18.48 kB / 0.584 GB, free: 21.02 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003673/0.4467, allocations: 216.6 kB / 0.5842 GB, free: 20.87 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003024/0.447, allocations: 216.7 kB / 0.5844 GB, free: 20.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005306/0.4476, allocations: 320.7 kB / 0.5847 GB, free: 20.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.238e-06/0.4476, allocations: 5.453 kB / 0.5847 GB, free: 20.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0007138/0.4483, allocations: 338.2 kB / 0.5851 GB, free: 20.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.4483, allocations: 6.469 kB / 0.5851 GB, free: 20.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.4484, allocations: 5.062 kB / 0.5851 GB, free: 20.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.4484, allocations: 5.281 kB / 0.5851 GB, free: 20.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003139/0.4487, allocations: 72.48 kB / 0.5851 GB, free: 20.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.4487, allocations: 10.34 kB / 0.5852 GB, free: 20.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002566/0.449, allocations: 42.09 kB / 0.5852 GB, free: 20.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.322e-05/0.449, allocations: 15.59 kB / 0.5852 GB, free: 20.17 MB / 446.1 MB 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.0001439/0.4492, allocations: 194.5 kB / 0.5854 GB, free: 19.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.616e-05/0.4492, allocations: 27.94 kB / 0.5854 GB, free: 19.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.798e-05/0.4493, allocations: 28.48 kB / 0.5854 GB, free: 19.94 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.4493, allocations: 2.156 kB / 0.5855 GB, free: 19.94 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.4493, allocations: 0 / 0.5855 GB, free: 19.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.4493, allocations: 1.094 kB / 0.5855 GB, free: 19.94 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001087/0.4504, allocations: 0.7563 MB / 0.5862 GB, free: 19.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.4504, allocations: 9.406 kB / 0.5862 GB, free: 19.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001818/0.4506, allocations: 40.25 kB / 0.5862 GB, free: 19.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001002/0.4507, allocations: 23 kB / 0.5863 GB, free: 19.28 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/0.4507, allocations: 9.188 kB / 0.5863 GB, free: 19.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007563/0.4515, allocations: 1.423 MB / 0.5877 GB, free: 17.81 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.4515, allocations: 5.625 kB / 0.5877 GB, free: 17.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005665/0.4521, allocations: 368.6 kB / 0.588 GB, free: 17.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.113e-05/0.4522, allocations: 121.8 kB / 0.5881 GB, free: 17.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.945e-05/0.4522, allocations: 2.344 kB / 0.5881 GB, free: 17.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/0.4524, allocations: 15.55 kB / 0.5881 GB, free: 17.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.483e-05/0.4525, allocations: 22.66 kB / 0.5882 GB, free: 17.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.4525, allocations: 12.75 kB / 0.5882 GB, free: 17.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001433/0.4527, allocations: 184 kB / 0.5884 GB, free: 17.26 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4527, allocations: 0 / 0.5884 GB, free: 17.26 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005951/0.4533, allocations: 152.5 kB / 0.5885 GB, free: 17.22 MB / 446.1 MB 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.0001033/0.4534, allocations: 100.3 kB / 0.5886 GB, free: 17.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001028/0.4544, allocations: 498.4 kB / 0.5891 GB, free: 16.85 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4544, allocations: 5.5 kB / 0.5891 GB, free: 16.85 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003149/0.4547, allocations: 228.8 kB / 0.5893 GB, free: 16.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004945/0.4552, allocations: 75.22 kB / 0.5894 GB, free: 16.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009797/0.4562, allocations: 0.5461 MB / 0.5899 GB, free: 16.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.4566, allocations: 0.7943 MB / 0.5907 GB, free: 15.52 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002339/0.4568, allocations: 69.28 kB / 0.5907 GB, free: 15.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.643e-05/0.4569, allocations: 21.38 kB / 0.5908 GB, free: 15.48 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4569, allocations: 1.188 kB / 0.5908 GB, free: 15.48 MB / 446.1 MB Notification: Performance of Templates: time 0.007578/0.4645, allocations: 3.507 MB / 0.5942 GB, free: 13.77 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)