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.001191/0.001191, allocations: 110.8 kB / 17.03 MB, free: 5.812 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.001416/0.001416, allocations: 196 kB / 17.98 MB, free: 5.031 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.347/1.347, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7215/0.7215, allocations: 115.1 MB / 407 MB, free: 6.344 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001293, allocations: 72.06 kB / 494.8 MB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4715/0.4728, allocations: 76.13 MB / 0.5576 GB, free: 36.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.VariableLoad): time 0.008237/0.4811, allocations: 3.834 MB / 0.5613 GB, free: 34.08 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004386/0.4856, allocations: 1.771 MB / 0.563 GB, free: 32.88 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003306/0.4859, allocations: 6.562 kB / 0.563 GB, free: 32.88 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001879/0.4879, allocations: 448.9 kB / 0.5635 GB, free: 32.62 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001044/0.4889, allocations: 248.6 kB / 0.5637 GB, free: 32.48 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001305/0.4902, allocations: 250.5 kB / 0.5639 GB, free: 32.38 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001105/0.4914, allocations: 0.4983 MB / 0.5644 GB, free: 32.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00098/0.4924, allocations: 372.3 kB / 0.5648 GB, free: 32.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004367/0.4928, allocations: 194.5 kB / 0.565 GB, free: 31.94 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006349/0.4935, allocations: 234.4 kB / 0.5652 GB, free: 31.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.086e-05/0.4936, allocations: 30.12 kB / 0.5652 GB, free: 31.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005437/0.4941, allocations: 185.5 kB / 0.5654 GB, free: 31.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002068/0.4944, allocations: 137.9 kB / 0.5655 GB, free: 31.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002565/0.4947, allocations: 179 kB / 0.5657 GB, free: 31.62 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000888/0.4956, allocations: 493.8 kB / 0.5662 GB, free: 31.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.4956, allocations: 0 / 0.5662 GB, free: 31.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.4956, allocations: 0 / 0.5662 GB, free: 31.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.4956, allocations: 1.75 kB / 0.5662 GB, free: 31.45 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.001863/0.4975, allocations: 0.6652 MB / 0.5668 GB, free: 30.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.4976, allocations: 9.312 kB / 0.5668 GB, free: 30.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001063/0.4986, allocations: 81.5 kB / 0.5669 GB, free: 30.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005755/0.4992, allocations: 306.8 kB / 0.5672 GB, free: 30.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.418e-05/0.4993, allocations: 22.06 kB / 0.5672 GB, free: 30.63 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.514e-05/0.4994, allocations: 27.59 kB / 0.5673 GB, free: 30.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/0.5007, allocations: 491.7 kB / 0.5677 GB, free: 30.39 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.5008, allocations: 5.781 kB / 0.5677 GB, free: 30.39 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.773e-05/0.5008, allocations: 13.47 kB / 0.5677 GB, free: 30.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001047/0.501, allocations: 42.22 kB / 0.5678 GB, free: 30.37 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001239/0.5022, allocations: 363.4 kB / 0.5681 GB, free: 30.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003162/0.5054, allocations: 2.039 MB / 0.5701 GB, free: 28.51 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008326/0.5063, allocations: 208.8 kB / 0.5703 GB, free: 28.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006194/0.5069, allocations: 152.6 kB / 0.5705 GB, free: 28.39 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.514e-05/0.5069, allocations: 11.41 kB / 0.5705 GB, free: 28.39 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.507, allocations: 37.58 kB / 0.5705 GB, free: 28.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 2.565e-06/0.507, allocations: 0 / 0.5705 GB, free: 28.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.001245/0.5082, allocations: 418.1 kB / 0.5709 GB, free: 28.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.5083, allocations: 54.97 kB / 0.571 GB, free: 28.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002785/0.5086, allocations: 264.2 kB / 0.5712 GB, free: 27.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.5086, allocations: 28.55 kB / 0.5712 GB, free: 27.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.5087, allocations: 210 kB / 0.5714 GB, free: 27.71 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.568e-05/0.5088, allocations: 66.14 kB / 0.5715 GB, free: 27.66 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.352e-05/0.5089, allocations: 57.03 kB / 0.5716 GB, free: 27.62 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.622e-05/0.5089, allocations: 336.4 kB / 0.5719 GB, free: 27.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002539/0.5092, allocations: 109.2 kB / 0.572 GB, free: 27.26 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002892/0.5095, allocations: 206.8 kB / 0.5722 GB, free: 27.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005058/0.51, allocations: 311.3 kB / 0.5725 GB, free: 26.89 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.51, allocations: 2.688 kB / 0.5725 GB, free: 26.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007521/0.5108, allocations: 357.6 kB / 0.5728 GB, free: 26.76 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.5108, allocations: 7.891 kB / 0.5728 GB, free: 26.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.5108, allocations: 8.406 kB / 0.5728 GB, free: 26.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002112/0.511, allocations: 32.58 kB / 0.5729 GB, free: 26.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002824/0.5113, allocations: 64.69 kB / 0.5729 GB, free: 26.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00103/0.5124, allocations: 1.438 MB / 0.5743 GB, free: 25.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002728/0.5127, allocations: 47.94 kB / 0.5744 GB, free: 25.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.482e-05/0.5127, allocations: 19.05 kB / 0.5744 GB, free: 25.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003336/0.513, allocations: 216.5 kB / 0.5746 GB, free: 25.17 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002702/0.5133, allocations: 211.1 kB / 0.5748 GB, free: 24.99 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004576/0.5138, allocations: 321.4 kB / 0.5751 GB, free: 24.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.675e-06/0.5138, allocations: 1.375 kB / 0.5751 GB, free: 24.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006107/0.5144, allocations: 339.4 kB / 0.5754 GB, free: 24.63 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.5144, allocations: 6 kB / 0.5754 GB, free: 24.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.5144, allocations: 9.5 kB / 0.5755 GB, free: 24.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.145e-06/0.5145, allocations: 6.391 kB / 0.5755 GB, free: 24.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000275/0.5147, allocations: 70.95 kB / 0.5755 GB, free: 24.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.5148, allocations: 6.625 kB / 0.5755 GB, free: 24.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002585/0.515, allocations: 32.03 kB / 0.5756 GB, free: 24.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.098e-05/0.5151, allocations: 15.52 kB / 0.5756 GB, free: 24.61 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.0001041/0.5152, allocations: 202.2 kB / 0.5758 GB, free: 24.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.71e-05/0.5152, allocations: 26.17 kB / 0.5758 GB, free: 24.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.791e-05/0.5153, allocations: 30.69 kB / 0.5758 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.5153, allocations: 2.75 kB / 0.5758 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.5153, allocations: 0.7031 kB / 0.5758 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.5153, allocations: 2.078 kB / 0.5758 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001174/0.5165, allocations: 0.7542 MB / 0.5766 GB, free: 23.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.5165, allocations: 0 / 0.5766 GB, free: 23.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001846/0.5167, allocations: 37.56 kB / 0.5766 GB, free: 23.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001048/0.5168, allocations: 33.72 kB / 0.5766 GB, free: 23.83 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.5169, allocations: 6.656 kB / 0.5766 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000719/0.5176, allocations: 1.418 MB / 0.578 GB, free: 22.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.5176, allocations: 9.438 kB / 0.578 GB, free: 22.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005525/0.5182, allocations: 365 kB / 0.5784 GB, free: 22.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.5183, allocations: 120.8 kB / 0.5785 GB, free: 22.06 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.104e-05/0.5183, allocations: 5.906 kB / 0.5785 GB, free: 22.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/0.5185, allocations: 17.45 kB / 0.5785 GB, free: 22.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.519e-05/0.5186, allocations: 24.83 kB / 0.5785 GB, free: 22.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.5186, allocations: 11.56 kB / 0.5786 GB, free: 22.03 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001626/0.5188, allocations: 188.1 kB / 0.5787 GB, free: 21.92 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5188, allocations: 0 / 0.5787 GB, free: 21.92 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006443/0.5194, allocations: 140.5 kB / 0.5789 GB, free: 21.89 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.0001021/0.5195, allocations: 101.7 kB / 0.579 GB, free: 21.79 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001053/0.5206, allocations: 497.9 kB / 0.5794 GB, free: 21.58 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.5206, allocations: 4.062 kB / 0.5794 GB, free: 21.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000328/0.521, allocations: 217.6 kB / 0.5797 GB, free: 21.44 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000516/0.5215, allocations: 65.44 kB / 0.5797 GB, free: 21.42 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009556/0.5225, allocations: 0.5471 MB / 0.5803 GB, free: 21.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.5227, allocations: 0.7978 MB / 0.581 GB, free: 20.38 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002459/0.523, allocations: 72.25 kB / 0.5811 GB, free: 20.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.834e-05/0.523, allocations: 21.06 kB / 0.5811 GB, free: 20.36 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.5231, allocations: 1.781 kB / 0.5811 GB, free: 20.36 MB / 446.1 MB Notification: Performance of Templates: time 0.00799/0.531, allocations: 3.517 MB / 0.5846 GB, free: 19.98 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)