Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.374/1.374, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.899/2.899, allocations: 472.6 MB / 0.7451 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 64.98 kB / 0.912 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3197, allocations: 159.9 MB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.003937/0.3237, allocations: 2.053 MB / 1.07 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003688/0.3274, allocations: 2.604 MB / 1.073 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001496/0.3276, allocations: 7.938 kB / 1.073 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001537/0.3292, allocations: 0.5058 MB / 1.073 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001972/0.3294, allocations: 75.52 kB / 1.073 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009408/0.3303, allocations: 274.8 kB / 1.074 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004277/0.3308, allocations: 330.4 kB / 1.074 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001858/0.331, allocations: 89.05 kB / 1.074 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/0.3311, allocations: 107.5 kB / 1.074 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003551/0.3315, allocations: 131.2 kB / 1.074 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.181e-05/0.3316, allocations: 8 kB / 1.074 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005705/0.3321, allocations: 319.5 kB / 1.075 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002327/0.3324, allocations: 103.5 kB / 1.075 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000331/0.3327, allocations: 214.5 kB / 1.075 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001151/0.3339, allocations: 0.8099 MB / 1.076 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.3339, allocations: 0 / 1.076 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3339, allocations: 0 / 1.076 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.663e-05/0.3339, allocations: 0 / 1.076 GB, free: 2.848 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001335/0.3353, allocations: 0.872 MB / 1.076 GB, free: 1.918 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.3353, allocations: 12.03 kB / 1.076 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000198/0.3355, allocations: 64.09 kB / 1.077 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004933/0.336, allocations: 392.3 kB / 1.077 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.3361, allocations: 8.375 kB / 1.077 GB, free: 1.414 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.3361, allocations: 4.375 kB / 1.077 GB, free: 1.41 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000262/0.3364, allocations: 134.4 kB / 1.077 GB, free: 1.273 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.3364, allocations: 4 kB / 1.077 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.3364, allocations: 0 / 1.077 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.3364, allocations: 0 / 1.077 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001741/0.3366, allocations: 99.94 kB / 1.077 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007984/0.3374, allocations: 0.547 MB / 1.078 GB, free: 0.5742 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.3376, allocations: 114.5 kB / 1.078 GB, free: 464 kB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.508e-05/0.3377, allocations: 60.98 kB / 1.078 GB, free: 400 kB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.191e-05/0.3377, allocations: 8.172 kB / 1.078 GB, free: 392 kB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002794/0.338, allocations: 137 kB / 1.078 GB, free: 236 kB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 1.753e-06/0.338, allocations: 4 kB / 1.078 GB, free: 232 kB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.0005395/0.3386, allocations: 314.5 kB / 1.078 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.159e-05/0.3386, allocations: 77.11 kB / 1.078 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.3398, allocations: 0.7935 MB / 1.079 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.3398, allocations: 25.7 kB / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003123/0.3401, allocations: 292.2 kB / 1.079 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.517e-05/0.3401, allocations: 27.64 kB / 1.079 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.085e-05/0.3402, allocations: 25.72 kB / 1.079 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002149/0.3405, allocations: 317.9 kB / 1.08 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.834e-05/0.3405, allocations: 43.98 kB / 1.08 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.078e-05/0.3406, allocations: 51.97 kB / 1.08 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000167/0.3408, allocations: 152.7 kB / 1.08 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3408, allocations: 0 / 1.08 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003446/0.3412, allocations: 278.3 kB / 1.08 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.754e-05/0.3412, allocations: 33.7 kB / 1.08 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.3412, allocations: 0 / 1.08 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.3412, allocations: 0 / 1.08 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.652e-05/0.3413, allocations: 19.92 kB / 1.08 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.3413, allocations: 0 / 1.08 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.3415, allocations: 11.94 kB / 1.08 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/0.3415, allocations: 4 kB / 1.08 GB, free: 13.7 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (booleanToInteger.y,greaterThreshold.y,speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003187/0.3418, allocations: 335.9 kB / 1.081 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.902e-05/0.3419, allocations: 71.09 kB / 1.081 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004452/0.3423, allocations: 297 kB / 1.081 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.3424, allocations: 0 / 1.081 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.3424, allocations: 3.938 kB / 1.081 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.3424, allocations: 4 kB / 1.081 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003624/0.3428, allocations: 381.4 kB / 1.081 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.3428, allocations: 3.938 kB / 1.081 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.016e-05/0.3428, allocations: 11.94 kB / 1.081 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3428, allocations: 0 / 1.081 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.3428, allocations: 4 kB / 1.081 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.3429, allocations: 3.984 kB / 1.081 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3429, allocations: 0 / 1.081 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003534/0.3432, allocations: 302 kB / 1.082 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/0.3434, allocations: 152.2 kB / 1.082 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.076e-05/0.3434, allocations: 8 kB / 1.082 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.3435, allocations: 4.188 kB / 1.082 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.734e-05/0.3436, allocations: 7.922 kB / 1.082 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.3436, allocations: 12 kB / 1.082 GB, free: 12 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0007419/0.3444, allocations: 0.5848 MB / 1.082 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.024e-06/0.3444, allocations: 0 / 1.082 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000499/0.3449, allocations: 127.9 kB / 1.083 GB, free: 11.29 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,greaterThreshold.y,booleanToInteger.y) * Number of discrete states: 6 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004225/0.3453, allocations: 199.1 kB / 1.083 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003132/0.3456, allocations: 211.3 kB / 1.083 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3456, allocations: 0 / 1.083 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001464/0.3458, allocations: 143.3 kB / 1.083 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005574/0.3464, allocations: 133.4 kB / 1.083 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/0.3481, allocations: 1.073 MB / 1.084 GB, free: 9.488 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006254/0.3488, allocations: 0.9704 MB / 1.085 GB, free: 8.492 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001055/0.3489, allocations: 25.94 kB / 1.085 GB, free: 8.469 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.76e-05/0.3489, allocations: 27.44 kB / 1.085 GB, free: 8.441 MB / 0.8419 GB Notification: Performance of SimCode: time 3.01e-07/0.3489, allocations: 0 / 1.085 GB, free: 8.441 MB / 0.8419 GB Notification: Performance of Templates: time 0.01146/0.3604, allocations: 5.55 MB / 1.091 GB, free: 2.98 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.makefile (rm -f Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.sim & ./Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1)