Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad") translateModel(BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001631/0.001631, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001805/0.001805, allocations: 189.5 kB / 16.25 MB, free: 6.633 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.468/1.468, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002624/0.002625, allocations: 282.2 kB / 290.4 MB, free: 2.156 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.06/1.06, allocations: 178.6 MB / 0.507 GB, free: 4.762 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002804/0.002804, allocations: 96.77 kB / 0.6059 GB, free: 24.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1912, allocations: 89.16 MB / 0.693 GB, free: 4.738 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad): time 0.005977/0.1972, allocations: 3.885 MB / 0.6968 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002754/0.2, allocations: 1.749 MB / 0.6985 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001725/0.2002, allocations: 4 kB / 0.6985 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001302/0.2015, allocations: 446.5 kB / 0.6989 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005835/0.2021, allocations: 219 kB / 0.6991 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000618/0.2028, allocations: 226.3 kB / 0.6993 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006047/0.2034, allocations: 0.4945 MB / 0.6998 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006966/0.2041, allocations: 405.1 kB / 0.7002 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002619/0.2043, allocations: 195.3 kB / 0.7004 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004021/0.2048, allocations: 247.1 kB / 0.7006 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.13e-05/0.2048, allocations: 28 kB / 0.7007 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003508/0.2052, allocations: 187.6 kB / 0.7008 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001639/0.2054, allocations: 131.6 kB / 0.701 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000194/0.2056, allocations: 183.1 kB / 0.7011 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005764/0.2061, allocations: 0.4945 MB / 0.7016 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2062, allocations: 0 / 0.7016 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2062, allocations: 0 / 0.7016 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.2062, allocations: 0 / 0.7016 GB, free: 11.87 MB / 0.4981 GB 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.001184/0.2074, allocations: 0.6527 MB / 0.7023 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.2074, allocations: 12.03 kB / 0.7023 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005472/0.208, allocations: 80.41 kB / 0.7023 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004474/0.2084, allocations: 307.8 kB / 0.7026 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.564e-05/0.2085, allocations: 24.97 kB / 0.7027 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.171e-05/0.2085, allocations: 24.38 kB / 0.7027 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008847/0.2094, allocations: 493.9 kB / 0.7032 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.2094, allocations: 4 kB / 0.7032 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.909e-05/0.2095, allocations: 11.98 kB / 0.7032 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-05/0.2096, allocations: 40.62 kB / 0.7032 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007714/0.2103, allocations: 370.2 kB / 0.7036 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002397/0.2127, allocations: 2.048 MB / 0.7056 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005925/0.2133, allocations: 202.7 kB / 0.7058 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000393/0.2138, allocations: 160.8 kB / 0.7059 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.055e-05/0.2138, allocations: 0 / 0.7059 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.2138, allocations: 38.56 kB / 0.7059 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.753e-06/0.2138, allocations: 0 / 0.7059 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.00115/0.215, allocations: 417.4 kB / 0.7063 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.929e-05/0.2151, allocations: 59.34 kB / 0.7064 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000294/0.2154, allocations: 262.7 kB / 0.7066 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.2154, allocations: 29.7 kB / 0.7067 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000171/0.2156, allocations: 215.6 kB / 0.7069 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.998e-05/0.2156, allocations: 67.03 kB / 0.7069 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.2158, allocations: 61.88 kB / 0.707 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001778/0.2159, allocations: 334.8 kB / 0.7073 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002561/0.2162, allocations: 93.91 kB / 0.7074 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003596/0.2166, allocations: 215.6 kB / 0.7076 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006027/0.2172, allocations: 313.4 kB / 0.7079 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.2172, allocations: 0 / 0.7079 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007841/0.218, allocations: 356.1 kB / 0.7083 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.218, allocations: 4 kB / 0.7083 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.218, allocations: 4 kB / 0.7083 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002262/0.2183, allocations: 45.14 kB / 0.7083 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002715/0.2185, allocations: 63.89 kB / 0.7084 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001439/0.22, allocations: 1.437 MB / 0.7098 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002608/0.2203, allocations: 51.69 kB / 0.7098 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.133e-05/0.2203, allocations: 8 kB / 0.7098 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003854/0.2207, allocations: 216.6 kB / 0.71 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003343/0.221, allocations: 213 kB / 0.7102 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005645/0.2216, allocations: 318.3 kB / 0.7105 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.938e-06/0.2216, allocations: 4 kB / 0.7105 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006731/0.2223, allocations: 337 kB / 0.7109 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.2223, allocations: 8 kB / 0.7109 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.2223, allocations: 7.938 kB / 0.7109 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.36e-06/0.2223, allocations: 4 kB / 0.7109 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002723/0.2226, allocations: 67.89 kB / 0.711 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.2226, allocations: 8 kB / 0.711 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002462/0.2229, allocations: 36.09 kB / 0.711 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.252e-05/0.2229, allocations: 16 kB / 0.711 GB, free: 1.461 MB / 0.4981 GB 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.0001536/0.2231, allocations: 205.7 kB / 0.7112 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.49e-05/0.2231, allocations: 27.66 kB / 0.7112 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.68e-05/0.2232, allocations: 30.17 kB / 0.7113 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.2232, allocations: 7.938 kB / 0.7113 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.2232, allocations: 0 / 0.7113 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.2232, allocations: 0 / 0.7113 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001294/0.2245, allocations: 0.7499 MB / 0.712 GB, free: 372 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.2245, allocations: 8 kB / 0.712 GB, free: 364 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002009/0.2248, allocations: 43.97 kB / 0.7121 GB, free: 320 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000107/0.2249, allocations: 24.84 kB / 0.7121 GB, free: 292 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.2249, allocations: 7.984 kB / 0.7121 GB, free: 284 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001171/0.2261, allocations: 1.422 MB / 0.7135 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2261, allocations: 160 / 0.7135 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006474/0.2267, allocations: 371.8 kB / 0.7138 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.2269, allocations: 116.8 kB / 0.7139 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.847e-05/0.2269, allocations: 0 / 0.7139 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001878/0.2271, allocations: 19.97 kB / 0.714 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.204e-05/0.2272, allocations: 15.98 kB / 0.714 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.2272, allocations: 7.938 kB / 0.714 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001898/0.2274, allocations: 186 kB / 0.7142 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2274, allocations: 0 / 0.7142 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005713/0.228, allocations: 147.4 kB / 0.7143 GB, free: 13.83 MB / 0.5137 GB 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.0001304/0.2281, allocations: 107.2 kB / 0.7144 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001117/0.2292, allocations: 0.4986 MB / 0.7149 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2292, allocations: 4 kB / 0.7149 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000362/0.2296, allocations: 224.1 kB / 0.7151 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004969/0.2301, allocations: 72.14 kB / 0.7152 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.2311, allocations: 0.6893 MB / 0.7158 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004742/0.2316, allocations: 0.8035 MB / 0.7166 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002367/0.2319, allocations: 66.23 kB / 0.7167 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.074e-05/0.2319, allocations: 19.44 kB / 0.7167 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.2319, allocations: 0 / 0.7167 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of Templates: time 0.00795/0.2399, allocations: 3.398 MB / 0.72 GB, free: 7.906 MB / 0.5137 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)