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.001027/0.001027, allocations: 88.56 kB / 16.66 MB, free: 5.738 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.00099/0.0009903, allocations: 181.9 kB / 17.58 MB, free: 5.477 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.398/1.398, allocations: 223.3 MB / 241.6 MB, free: 14.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7777/0.7777, allocations: 115.5 MB / 408.2 MB, free: 7.078 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004408/0.0004408, allocations: 8 kB / 496.5 MB, free: 15.69 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4617/0.4622, allocations: 77.53 MB / 0.5606 GB, free: 35.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.VariableLoad): time 0.004392/0.4666, allocations: 3.495 MB / 0.564 GB, free: 32.96 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002836/0.4695, allocations: 1.732 MB / 0.5657 GB, free: 31.78 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002523/0.4698, allocations: 10.22 kB / 0.5657 GB, free: 31.78 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002618/0.47, allocations: 56.38 kB / 0.5657 GB, free: 31.75 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006371/0.4707, allocations: 237.6 kB / 0.566 GB, free: 31.62 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007117/0.4714, allocations: 230 kB / 0.5662 GB, free: 31.51 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008284/0.4723, allocations: 0.6974 MB / 0.5669 GB, free: 31.28 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000462/0.4727, allocations: 378.6 kB / 0.5672 GB, free: 31.03 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002163/0.473, allocations: 153.2 kB / 0.5674 GB, free: 30.97 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004097/0.4734, allocations: 227.4 kB / 0.5676 GB, free: 30.89 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.301e-05/0.4734, allocations: 16.25 kB / 0.5676 GB, free: 30.89 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004597/0.4739, allocations: 222.5 kB / 0.5678 GB, free: 30.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.474, allocations: 113.9 kB / 0.5679 GB, free: 30.78 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001778/0.4742, allocations: 193.1 kB / 0.5681 GB, free: 30.65 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004878/0.4747, allocations: 368.6 kB / 0.5685 GB, free: 30.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.4747, allocations: 2.203 kB / 0.5685 GB, free: 30.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4747, allocations: 0 / 0.5685 GB, free: 30.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.4748, allocations: 0.8438 kB / 0.5685 GB, free: 30.57 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.001026/0.4758, allocations: 0.6059 MB / 0.5691 GB, free: 30.08 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.4758, allocations: 14 kB / 0.5691 GB, free: 30.08 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005871/0.4764, allocations: 85.84 kB / 0.5692 GB, free: 30.06 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003455/0.4768, allocations: 298 kB / 0.5694 GB, free: 29.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.668e-05/0.4768, allocations: 19.88 kB / 0.5695 GB, free: 29.79 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.916e-05/0.4769, allocations: 31.75 kB / 0.5695 GB, free: 29.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008954/0.4778, allocations: 498.8 kB / 0.57 GB, free: 29.54 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.4778, allocations: 3.938 kB / 0.57 GB, free: 29.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.811e-05/0.4779, allocations: 17.59 kB / 0.57 GB, free: 29.53 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.271e-05/0.4779, allocations: 39.48 kB / 0.57 GB, free: 29.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008138/0.4788, allocations: 383.4 kB / 0.5704 GB, free: 29.42 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001965/0.4807, allocations: 2.057 MB / 0.5724 GB, free: 27.65 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000591/0.4813, allocations: 220 kB / 0.5726 GB, free: 27.58 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004348/0.4818, allocations: 169.8 kB / 0.5728 GB, free: 27.54 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.4818, allocations: 2.062 kB / 0.5728 GB, free: 27.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.4818, allocations: 38.33 kB / 0.5728 GB, free: 27.49 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 3.296e-06/0.4819, allocations: 1.344 kB / 0.5728 GB, free: 27.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.001142/0.483, allocations: 453 kB / 0.5732 GB, free: 27.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.483, allocations: 56.53 kB / 0.5733 GB, free: 27.22 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002729/0.4833, allocations: 262.4 kB / 0.5735 GB, free: 27.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.4833, allocations: 27.05 kB / 0.5736 GB, free: 27.04 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.4835, allocations: 210.9 kB / 0.5738 GB, free: 26.86 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.671e-05/0.4835, allocations: 66.03 kB / 0.5738 GB, free: 26.81 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.462e-05/0.4836, allocations: 33.39 kB / 0.5739 GB, free: 26.79 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.796e-05/0.4836, allocations: 341.4 kB / 0.5742 GB, free: 26.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002695/0.4839, allocations: 99.48 kB / 0.5743 GB, free: 26.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003235/0.4842, allocations: 210.8 kB / 0.5745 GB, free: 26.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005982/0.4849, allocations: 341.2 kB / 0.5748 GB, free: 26.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.4849, allocations: 1.656 kB / 0.5748 GB, free: 26.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000831/0.4857, allocations: 374 kB / 0.5752 GB, free: 25.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.902e-05/0.4858, allocations: 201.8 kB / 0.5754 GB, free: 25.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.4858, allocations: 7.969 kB / 0.5754 GB, free: 25.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002084/0.486, allocations: 29.67 kB / 0.5754 GB, free: 25.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002921/0.4863, allocations: 74.75 kB / 0.5755 GB, free: 25.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001009/0.4874, allocations: 1.332 MB / 0.5768 GB, free: 24.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002925/0.4877, allocations: 45.19 kB / 0.5768 GB, free: 24.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.73e-05/0.4877, allocations: 15.08 kB / 0.5768 GB, free: 24.35 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.655e-06/0.4877, allocations: 4.344 kB / 0.5768 GB, free: 24.35 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006747/0.4884, allocations: 301 kB / 0.5771 GB, free: 24.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.4884, allocations: 7.312 kB / 0.5771 GB, free: 24.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.085e-06/0.4884, allocations: 10.27 kB / 0.5771 GB, free: 24.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002771/0.4887, allocations: 81.05 kB / 0.5772 GB, free: 24.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.4887, allocations: 4.984 kB / 0.5772 GB, free: 24.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002206/0.489, allocations: 49.17 kB / 0.5773 GB, free: 24.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.061e-05/0.489, allocations: 18.97 kB / 0.5773 GB, free: 24.2 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.0002214/0.4892, allocations: 243.6 kB / 0.5775 GB, free: 23.99 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.36e-05/0.4893, allocations: 24.09 kB / 0.5775 GB, free: 23.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.528e-05/0.4893, allocations: 31.61 kB / 0.5776 GB, free: 23.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.624e-06/0.4893, allocations: 6.75 kB / 0.5776 GB, free: 23.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.4894, allocations: 3.984 kB / 0.5776 GB, free: 23.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.4894, allocations: 2.406 kB / 0.5776 GB, free: 23.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.4905, allocations: 0.7701 MB / 0.5783 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.4905, allocations: 1.156 kB / 0.5783 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001963/0.4907, allocations: 52.83 kB / 0.5784 GB, free: 23.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001074/0.4909, allocations: 27.22 kB / 0.5784 GB, free: 23.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.4909, allocations: 1.688 kB / 0.5784 GB, free: 23.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007262/0.4916, allocations: 1.31 MB / 0.5797 GB, free: 22.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.4916, allocations: 5.062 kB / 0.5797 GB, free: 22.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000639/0.4923, allocations: 391.3 kB / 0.5801 GB, free: 21.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.056e-05/0.4924, allocations: 123.7 kB / 0.5802 GB, free: 21.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.988e-05/0.4924, allocations: 7.297 kB / 0.5802 GB, free: 21.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001889/0.4926, allocations: 21.62 kB / 0.5802 GB, free: 21.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.921e-05/0.4927, allocations: 20.45 kB / 0.5802 GB, free: 21.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.4927, allocations: 6.016 kB / 0.5802 GB, free: 21.72 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001662/0.4929, allocations: 182.6 kB / 0.5804 GB, free: 21.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4929, allocations: 0 / 0.5804 GB, free: 21.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000637/0.4935, allocations: 144.2 kB / 0.5806 GB, free: 21.57 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.0001022/0.4936, allocations: 105.5 kB / 0.5807 GB, free: 21.48 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001092/0.4947, allocations: 0.5106 MB / 0.5812 GB, free: 21.26 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4947, allocations: 4.188 kB / 0.5812 GB, free: 21.26 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003497/0.4951, allocations: 230.4 kB / 0.5814 GB, free: 21.12 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005326/0.4956, allocations: 73.72 kB / 0.5815 GB, free: 21.09 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009699/0.4966, allocations: 0.7322 MB / 0.5822 GB, free: 20.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.4969, allocations: 0.7994 MB / 0.5829 GB, free: 19.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.661e-05/0.497, allocations: 23.16 kB / 0.583 GB, free: 19.88 MB / 446.1 MB Notification: Performance of SimCode: time 1.032e-06/0.497, allocations: 0 / 0.583 GB, free: 19.88 MB / 446.1 MB Notification: Performance of Templates: time 0.008566/0.5056, allocations: 4.737 MB / 0.5876 GB, free: 18.94 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)