Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001756/0.001755, allocations: 106.5 kB / 16.36 MB, free: 6.305 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.002084/0.002084, allocations: 192.5 kB / 17.29 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.429/1.429, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.803/1.803, allocations: 292.3 MB / 0.5496 GB, free: 17.43 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 71.91 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.2187, allocations: 114.6 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.003986/0.2227, allocations: 1.993 MB / 0.7867 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3921/0.6148, allocations: 2.533 MB / 0.7892 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001407/0.615, allocations: 6.188 kB / 0.7892 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001105/0.6162, allocations: 479.8 kB / 0.7897 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001349/0.6164, allocations: 59.66 kB / 0.7897 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008234/0.6172, allocations: 278.2 kB / 0.79 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003542/0.6176, allocations: 303.2 kB / 0.7903 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001774/0.6178, allocations: 96.55 kB / 0.7904 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.6179, allocations: 95.94 kB / 0.7905 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001663/0.618, allocations: 133.6 kB / 0.7906 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/0.6181, allocations: 7.875 kB / 0.7906 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004314/0.6185, allocations: 324 kB / 0.7909 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.316e-05/0.6186, allocations: 93.06 kB / 0.791 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001403/0.6188, allocations: 203.8 kB / 0.7912 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006333/0.6194, allocations: 0.7816 MB / 0.792 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.6194, allocations: 2.625 kB / 0.792 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.854e-06/0.6194, allocations: 0 / 0.792 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.558e-05/0.6194, allocations: 1.188 kB / 0.792 GB, free: 46.7 MB / 0.6544 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.0008286/0.6203, allocations: 0.8384 MB / 0.7928 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.6203, allocations: 10.44 kB / 0.7928 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.89e-05/0.6204, allocations: 60.88 kB / 0.7929 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003128/0.6207, allocations: 369.3 kB / 0.7932 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.6208, allocations: 7.25 kB / 0.7932 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/0.6208, allocations: 8.062 kB / 0.7932 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002127/0.621, allocations: 131.4 kB / 0.7934 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.621, allocations: 0 / 0.7934 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.6211, allocations: 13.56 kB / 0.7934 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.6211, allocations: 1.688 kB / 0.7934 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/0.6212, allocations: 96.2 kB / 0.7935 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006295/0.6219, allocations: 0.5398 MB / 0.794 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.622, allocations: 102.4 kB / 0.7941 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.808e-05/0.6221, allocations: 68.56 kB / 0.7941 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.267e-05/0.6221, allocations: 7.438 kB / 0.7942 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001636/0.6223, allocations: 137.9 kB / 0.7943 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=11): time 1.313e-06/0.6223, allocations: 0 / 0.7943 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.0004246/0.6228, allocations: 296.7 kB / 0.7946 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.346e-05/0.6228, allocations: 92.58 kB / 0.7947 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007098/0.6235, allocations: 0.7609 MB / 0.7954 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.6236, allocations: 29.27 kB / 0.7954 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.6237, allocations: 278 kB / 0.7957 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.628e-05/0.6238, allocations: 30.92 kB / 0.7957 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.014e-05/0.6238, allocations: 27.33 kB / 0.7957 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.956e-05/0.6239, allocations: 309.5 kB / 0.796 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.651e-05/0.624, allocations: 48.38 kB / 0.7961 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.741e-05/0.624, allocations: 45.06 kB / 0.7961 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.6242, allocations: 159.4 kB / 0.7963 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.6242, allocations: 4 kB / 0.7963 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002735/0.6245, allocations: 262 kB / 0.7965 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.242e-05/0.6245, allocations: 39.77 kB / 0.7966 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.6245, allocations: 0 / 0.7966 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.6245, allocations: 0 / 0.7966 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.259e-05/0.6246, allocations: 13.16 kB / 0.7966 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.6246, allocations: 3.938 kB / 0.7966 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.6248, allocations: 13.95 kB / 0.7966 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.6248, allocations: 3.5 kB / 0.7966 GB, free: 44.29 MB / 0.6544 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.0002422/0.625, allocations: 333.6 kB / 0.7969 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.007e-05/0.6251, allocations: 65.91 kB / 0.797 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003792/0.6255, allocations: 286.6 kB / 0.7973 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.6255, allocations: 1.219 kB / 0.7973 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.6255, allocations: 4.312 kB / 0.7973 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.6255, allocations: 3.234 kB / 0.7973 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003112/0.6258, allocations: 379.6 kB / 0.7976 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.6258, allocations: 2.125 kB / 0.7976 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.628e-05/0.6259, allocations: 8.594 kB / 0.7976 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.6259, allocations: 1.266 kB / 0.7976 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.6259, allocations: 6.594 kB / 0.7977 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.6259, allocations: 1.5 kB / 0.7977 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.6259, allocations: 0 / 0.7977 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003051/0.6262, allocations: 311.7 kB / 0.798 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.6263, allocations: 138.5 kB / 0.7981 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.1e-05/0.6264, allocations: 9.031 kB / 0.7981 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.84e-05/0.6265, allocations: 4.016 kB / 0.7981 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.113e-05/0.6266, allocations: 9.75 kB / 0.7981 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.6266, allocations: 13.12 kB / 0.7981 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005419/0.6271, allocations: 0.5641 MB / 0.7987 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6271, allocations: 0 / 0.7987 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004154/0.6276, allocations: 114.4 kB / 0.7988 GB, free: 43.46 MB / 0.6544 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.0003595/0.6279, allocations: 187.9 kB / 0.799 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002759/0.6282, allocations: 207.7 kB / 0.7992 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.6282, allocations: 0 / 0.7992 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000149/0.6284, allocations: 152.3 kB / 0.7993 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004829/0.6289, allocations: 116.7 kB / 0.7994 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.6303, allocations: 1.075 MB / 0.8005 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004443/0.6307, allocations: 0.9604 MB / 0.8014 GB, free: 42.12 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.254e-05/0.6308, allocations: 15.2 kB / 0.8014 GB, free: 42.12 MB / 0.6544 GB Notification: Performance of SimCode: time 3.9e-07/0.6308, allocations: 0 / 0.8014 GB, free: 42.12 MB / 0.6544 GB Notification: Performance of Templates: time 0.01489/0.6457, allocations: 6.307 MB / 0.8076 GB, free: 41.59 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1)