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.001459/0.001459, allocations: 104 kB / 16.94 MB, free: 6.191 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.001694/0.001695, allocations: 191.4 kB / 17.86 MB, free: 5.293 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.348/1.348, allocations: 222.9 MB / 241.6 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7412/0.7412, allocations: 122.9 MB / 414.6 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001458, allocations: 67.89 kB / 0.4917 GB, free: 7.449 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3822/0.3836, allocations: 77.91 MB / 0.5678 GB, free: 32.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.VariableLoad): time 0.005893/0.3896, allocations: 3.838 MB / 0.5716 GB, free: 30.18 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003102/0.3927, allocations: 1.761 MB / 0.5733 GB, free: 28.99 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002292/0.393, allocations: 10.97 kB / 0.5733 GB, free: 28.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001242/0.3943, allocations: 459.5 kB / 0.5737 GB, free: 28.71 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005646/0.3948, allocations: 242.3 kB / 0.574 GB, free: 28.58 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007098/0.3956, allocations: 252.9 kB / 0.5742 GB, free: 28.47 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006291/0.3962, allocations: 0.5018 MB / 0.5747 GB, free: 28.24 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006827/0.3969, allocations: 362 kB / 0.5751 GB, free: 28.11 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002751/0.3972, allocations: 192.5 kB / 0.5752 GB, free: 28.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004916/0.3977, allocations: 236.8 kB / 0.5755 GB, free: 27.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.966e-05/0.3978, allocations: 30.81 kB / 0.5755 GB, free: 27.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004424/0.3982, allocations: 185.3 kB / 0.5757 GB, free: 27.87 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001826/0.3984, allocations: 137.5 kB / 0.5758 GB, free: 27.81 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002002/0.3986, allocations: 174.8 kB / 0.576 GB, free: 27.71 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007116/0.3993, allocations: 485.5 kB / 0.5764 GB, free: 27.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.3993, allocations: 2.609 kB / 0.5764 GB, free: 27.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3994, allocations: 3.938 kB / 0.5764 GB, free: 27.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.3994, allocations: 0 / 0.5764 GB, free: 27.54 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.001189/0.4006, allocations: 0.6693 MB / 0.5771 GB, free: 27 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.4006, allocations: 9.156 kB / 0.5771 GB, free: 27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006041/0.4012, allocations: 82.3 kB / 0.5772 GB, free: 26.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003817/0.4016, allocations: 294 kB / 0.5775 GB, free: 26.73 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.969e-05/0.4017, allocations: 21.16 kB / 0.5775 GB, free: 26.71 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.075e-05/0.4017, allocations: 28.12 kB / 0.5775 GB, free: 26.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008831/0.4026, allocations: 491.8 kB / 0.578 GB, free: 26.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.4026, allocations: 1.375 kB / 0.578 GB, free: 26.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.613e-05/0.4027, allocations: 12.81 kB / 0.578 GB, free: 26.47 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.255e-05/0.4028, allocations: 39.33 kB / 0.578 GB, free: 26.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007888/0.4035, allocations: 366.6 kB / 0.5784 GB, free: 26.36 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002131/0.4057, allocations: 2.044 MB / 0.5804 GB, free: 24.6 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005854/0.4063, allocations: 211.7 kB / 0.5806 GB, free: 24.52 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003967/0.4067, allocations: 157.2 kB / 0.5807 GB, free: 24.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.4067, allocations: 6.047 kB / 0.5807 GB, free: 24.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.4068, allocations: 34.89 kB / 0.5808 GB, free: 24.44 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 2.675e-06/0.4068, allocations: 3.438 kB / 0.5808 GB, free: 24.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.001059/0.4078, allocations: 430.7 kB / 0.5812 GB, free: 24.21 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.496e-05/0.4079, allocations: 54.84 kB / 0.5812 GB, free: 24.15 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002376/0.4081, allocations: 263.8 kB / 0.5815 GB, free: 23.97 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.4081, allocations: 34.83 kB / 0.5815 GB, free: 23.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.116e-05/0.4082, allocations: 202.9 kB / 0.5817 GB, free: 23.74 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.533e-05/0.4083, allocations: 64.38 kB / 0.5818 GB, free: 23.69 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.498e-05/0.4084, allocations: 64.09 kB / 0.5818 GB, free: 23.64 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.061e-05/0.4084, allocations: 337.4 kB / 0.5822 GB, free: 23.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000236/0.4087, allocations: 95.58 kB / 0.5822 GB, free: 23.26 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002921/0.409, allocations: 206.1 kB / 0.5824 GB, free: 23.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000513/0.4095, allocations: 307.1 kB / 0.5827 GB, free: 22.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.4095, allocations: 1.156 kB / 0.5827 GB, free: 22.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007414/0.4103, allocations: 356.6 kB / 0.5831 GB, free: 22.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.4103, allocations: 12.89 kB / 0.5831 GB, free: 22.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.4103, allocations: 3.531 kB / 0.5831 GB, free: 22.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002075/0.4105, allocations: 31.75 kB / 0.5831 GB, free: 22.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002704/0.4108, allocations: 71.33 kB / 0.5832 GB, free: 22.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00101/0.4118, allocations: 1.443 MB / 0.5846 GB, free: 21.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000291/0.4121, allocations: 40.48 kB / 0.5846 GB, free: 21.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.445e-05/0.4122, allocations: 15.91 kB / 0.5846 GB, free: 21.12 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003478/0.4125, allocations: 217.9 kB / 0.5849 GB, free: 20.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002678/0.4128, allocations: 214.2 kB / 0.5851 GB, free: 20.77 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004845/0.4133, allocations: 330.3 kB / 0.5854 GB, free: 20.51 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.096e-06/0.4133, allocations: 1.156 kB / 0.5854 GB, free: 20.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.000627/0.4139, allocations: 335.6 kB / 0.5857 GB, free: 20.33 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.197e-06/0.414, allocations: 6.062 kB / 0.5857 GB, free: 20.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.414, allocations: 5.812 kB / 0.5857 GB, free: 20.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.875e-06/0.414, allocations: 7.734 kB / 0.5857 GB, free: 20.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002457/0.4142, allocations: 73.94 kB / 0.5858 GB, free: 20.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.4143, allocations: 13.77 kB / 0.5858 GB, free: 20.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002376/0.4145, allocations: 29.73 kB / 0.5858 GB, free: 20.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.4145, allocations: 14.97 kB / 0.5858 GB, free: 20.28 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.0001042/0.4146, allocations: 198.7 kB / 0.586 GB, free: 20.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.949e-05/0.4147, allocations: 23.75 kB / 0.5861 GB, free: 20.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.79e-05/0.4148, allocations: 33.94 kB / 0.5861 GB, free: 20.05 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.4148, allocations: 5.578 kB / 0.5861 GB, free: 20.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.4148, allocations: 0 / 0.5861 GB, free: 20.04 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.4148, allocations: 1.344 kB / 0.5861 GB, free: 20.04 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.4158, allocations: 0.7511 MB / 0.5868 GB, free: 19.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.4158, allocations: 3.938 kB / 0.5868 GB, free: 19.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000196/0.416, allocations: 49.59 kB / 0.5869 GB, free: 19.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001046/0.4162, allocations: 25.95 kB / 0.5869 GB, free: 19.38 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.4162, allocations: 5.188 kB / 0.5869 GB, free: 19.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006851/0.4169, allocations: 1.426 MB / 0.5883 GB, free: 17.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4169, allocations: 1.344 kB / 0.5883 GB, free: 17.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005399/0.4174, allocations: 373.6 kB / 0.5887 GB, free: 17.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.53e-05/0.4175, allocations: 113.5 kB / 0.5888 GB, free: 17.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.156e-05/0.4176, allocations: 13.3 kB / 0.5888 GB, free: 17.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.4178, allocations: 16.33 kB / 0.5888 GB, free: 17.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.636e-05/0.4178, allocations: 11.83 kB / 0.5888 GB, free: 17.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.4179, allocations: 11.75 kB / 0.5888 GB, free: 17.49 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001605/0.418, allocations: 183.7 kB / 0.589 GB, free: 17.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.418, allocations: 1.438 kB / 0.589 GB, free: 17.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006018/0.4186, allocations: 148 kB / 0.5891 GB, free: 17.32 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.0001071/0.4188, allocations: 107 kB / 0.5892 GB, free: 17.22 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00104/0.4198, allocations: 0.4939 MB / 0.5897 GB, free: 16.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.4198, allocations: 0 / 0.5897 GB, free: 16.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002945/0.4201, allocations: 223.7 kB / 0.5899 GB, free: 16.78 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004815/0.4206, allocations: 75.59 kB / 0.59 GB, free: 16.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008612/0.4215, allocations: 0.5801 MB / 0.5906 GB, free: 16.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002132/0.4217, allocations: 0.806 MB / 0.5914 GB, free: 15.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.886e-05/0.4218, allocations: 23.16 kB / 0.5914 GB, free: 15.57 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4218, allocations: 0 / 0.5914 GB, free: 15.57 MB / 446.1 MB Notification: Performance of Templates: time 0.006554/0.4283, allocations: 4.764 MB / 0.596 GB, free: 12.86 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)