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.006123/0.006123, allocations: 100.8 kB / 15.87 MB, free: 6.32 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.001415/0.001416, allocations: 194.4 kB / 16.79 MB, free: 6.246 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.361/1.361, allocations: 222.9 MB / 240.5 MB, free: 15.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7531/0.7531, allocations: 122.9 MB / 413.5 MB, free: 124 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 67.84 kB / 0.4904 GB, free: 7.945 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3929/0.3942, allocations: 77.9 MB / 0.5665 GB, free: 32.83 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.VariableLoad): time 0.005296/0.3996, allocations: 3.888 MB / 0.5703 GB, free: 30.21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002664/0.4023, allocations: 1.76 MB / 0.572 GB, free: 29.02 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001826/0.4025, allocations: 11.94 kB / 0.572 GB, free: 29.01 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.4036, allocations: 419.8 kB / 0.5724 GB, free: 28.77 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005379/0.4042, allocations: 239.6 kB / 0.5726 GB, free: 28.64 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005919/0.4048, allocations: 223.7 kB / 0.5729 GB, free: 28.54 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006865/0.4055, allocations: 0.7048 MB / 0.5735 GB, free: 28.29 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004277/0.4059, allocations: 242.5 kB / 0.5738 GB, free: 28.21 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002168/0.4061, allocations: 167.8 kB / 0.5739 GB, free: 28.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004298/0.4066, allocations: 241.8 kB / 0.5742 GB, free: 28.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.321e-05/0.4067, allocations: 22.31 kB / 0.5742 GB, free: 28.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004885/0.4071, allocations: 232.5 kB / 0.5744 GB, free: 27.97 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001779/0.4073, allocations: 121.3 kB / 0.5745 GB, free: 27.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002095/0.4076, allocations: 171.4 kB / 0.5747 GB, free: 27.83 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006501/0.4082, allocations: 496.3 kB / 0.5752 GB, free: 27.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.4082, allocations: 1.5 kB / 0.5752 GB, free: 27.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.4082, allocations: 1.062 kB / 0.5752 GB, free: 27.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.4082, allocations: 0 / 0.5752 GB, free: 27.66 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.001164/0.4094, allocations: 0.6638 MB / 0.5758 GB, free: 27.13 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.4095, allocations: 9.031 kB / 0.5758 GB, free: 27.13 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005674/0.41, allocations: 83.61 kB / 0.5759 GB, free: 27.11 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003425/0.4104, allocations: 292.3 kB / 0.5762 GB, free: 26.86 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.4104, allocations: 21.78 kB / 0.5762 GB, free: 26.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.701e-05/0.4105, allocations: 29.28 kB / 0.5762 GB, free: 26.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007968/0.4113, allocations: 490.8 kB / 0.5767 GB, free: 26.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.4113, allocations: 5.969 kB / 0.5767 GB, free: 26.6 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.766e-05/0.4114, allocations: 16.06 kB / 0.5767 GB, free: 26.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.869e-05/0.4114, allocations: 38.39 kB / 0.5768 GB, free: 26.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007915/0.4122, allocations: 364.6 kB / 0.5771 GB, free: 26.48 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001938/0.4142, allocations: 2.057 MB / 0.5791 GB, free: 24.71 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000573/0.4148, allocations: 210.8 kB / 0.5793 GB, free: 24.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003721/0.4151, allocations: 154.8 kB / 0.5795 GB, free: 24.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.081e-05/0.4152, allocations: 4.375 kB / 0.5795 GB, free: 24.59 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.678e-05/0.4152, allocations: 36.62 kB / 0.5795 GB, free: 24.55 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.342e-06/0.4152, allocations: 0 / 0.5795 GB, free: 24.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.001153/0.4164, allocations: 420.8 kB / 0.5799 GB, free: 24.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/0.4164, allocations: 54.66 kB / 0.58 GB, free: 24.28 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002624/0.4167, allocations: 261.1 kB / 0.5802 GB, free: 24.13 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.4167, allocations: 30.95 kB / 0.5802 GB, free: 24.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.4168, allocations: 208.4 kB / 0.5804 GB, free: 23.92 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.438e-05/0.4169, allocations: 64.75 kB / 0.5805 GB, free: 23.87 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.175e-05/0.417, allocations: 62.72 kB / 0.5806 GB, free: 23.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.434e-05/0.4171, allocations: 336.2 kB / 0.5809 GB, free: 23.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002763/0.4173, allocations: 104.4 kB / 0.581 GB, free: 23.46 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002883/0.4176, allocations: 202.6 kB / 0.5812 GB, free: 23.28 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005414/0.4182, allocations: 308.7 kB / 0.5815 GB, free: 23.05 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.4182, allocations: 1.938 kB / 0.5815 GB, free: 23.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007728/0.419, allocations: 355.6 kB / 0.5818 GB, free: 22.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.419, allocations: 6.656 kB / 0.5818 GB, free: 22.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.419, allocations: 3.812 kB / 0.5818 GB, free: 22.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002265/0.4193, allocations: 37.14 kB / 0.5818 GB, free: 22.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002789/0.4196, allocations: 70.14 kB / 0.5819 GB, free: 22.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001148/0.4207, allocations: 1.34 MB / 0.5832 GB, free: 21.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00026/0.421, allocations: 41.23 kB / 0.5833 GB, free: 21.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.389e-05/0.421, allocations: 18.53 kB / 0.5833 GB, free: 21.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003207/0.4213, allocations: 217.7 kB / 0.5835 GB, free: 21.28 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000264/0.4216, allocations: 214.2 kB / 0.5837 GB, free: 21.08 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004695/0.4221, allocations: 319.1 kB / 0.584 GB, free: 20.83 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.705e-06/0.4221, allocations: 1.219 kB / 0.584 GB, free: 20.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006108/0.4227, allocations: 343.4 kB / 0.5843 GB, free: 20.64 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.468e-06/0.4227, allocations: 6.688 kB / 0.5843 GB, free: 20.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.4228, allocations: 11.84 kB / 0.5843 GB, free: 20.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.33e-06/0.4228, allocations: 6.219 kB / 0.5843 GB, free: 20.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002682/0.423, allocations: 75.89 kB / 0.5844 GB, free: 20.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.4231, allocations: 10.09 kB / 0.5844 GB, free: 20.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000244/0.4233, allocations: 34.02 kB / 0.5845 GB, free: 20.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.4233, allocations: 11.06 kB / 0.5845 GB, free: 20.59 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.0001032/0.4234, allocations: 194.1 kB / 0.5847 GB, free: 20.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.389e-05/0.4235, allocations: 33.2 kB / 0.5847 GB, free: 20.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.527e-05/0.4236, allocations: 31.75 kB / 0.5847 GB, free: 20.35 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.4236, allocations: 2.5 kB / 0.5847 GB, free: 20.35 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.4236, allocations: 0 / 0.5847 GB, free: 20.35 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.4236, allocations: 5.047 kB / 0.5847 GB, free: 20.35 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/0.4247, allocations: 0.7576 MB / 0.5855 GB, free: 19.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.4247, allocations: 0 / 0.5855 GB, free: 19.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001917/0.4249, allocations: 41.31 kB / 0.5855 GB, free: 19.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.916e-05/0.425, allocations: 29.81 kB / 0.5855 GB, free: 19.69 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.425, allocations: 9.5 kB / 0.5855 GB, free: 19.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000668/0.4257, allocations: 1.314 MB / 0.5868 GB, free: 18.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.4257, allocations: 5.156 kB / 0.5868 GB, free: 18.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005666/0.4263, allocations: 365.7 kB / 0.5872 GB, free: 18.06 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.173e-05/0.4264, allocations: 125.1 kB / 0.5873 GB, free: 17.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.227e-05/0.4264, allocations: 2.719 kB / 0.5873 GB, free: 17.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.4266, allocations: 16.2 kB / 0.5873 GB, free: 17.92 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.184e-05/0.4267, allocations: 14.88 kB / 0.5873 GB, free: 17.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.4267, allocations: 11.72 kB / 0.5873 GB, free: 17.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001384/0.4268, allocations: 184.8 kB / 0.5875 GB, free: 17.78 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4268, allocations: 0 / 0.5875 GB, free: 17.78 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006081/0.4275, allocations: 149.1 kB / 0.5877 GB, free: 17.74 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 9.569e-05/0.4276, allocations: 99.19 kB / 0.5878 GB, free: 17.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009848/0.4286, allocations: 488.4 kB / 0.5882 GB, free: 17.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4286, allocations: 1.562 kB / 0.5882 GB, free: 17.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003069/0.4289, allocations: 222.1 kB / 0.5884 GB, free: 17.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000501/0.4294, allocations: 75.25 kB / 0.5885 GB, free: 17.17 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008547/0.4303, allocations: 0.6714 MB / 0.5892 GB, free: 16.67 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002177/0.4305, allocations: 0.7971 MB / 0.5899 GB, free: 15.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002319/0.4307, allocations: 71.17 kB / 0.59 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.107e-05/0.4308, allocations: 24.34 kB / 0.59 GB, free: 15.87 MB / 446.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4308, allocations: 1.219 kB / 0.59 GB, free: 15.87 MB / 446.1 MB Notification: Performance of Templates: time 0.006284/0.4371, allocations: 3.23 MB / 0.5932 GB, free: 14.3 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)