Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001381/0.001381, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.62/2.62, allocations: 409.4 MB / 0.684 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003651/0.0003652, allocations: 11.98 kB / 0.8378 GB, free: 6.477 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8179/0.8183, allocations: 146.8 MB / 0.9811 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.002362/0.8207, allocations: 1.712 MB / 0.9828 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002958/0.8237, allocations: 2.37 MB / 0.9851 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001398/0.8238, allocations: 0 / 0.9851 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001218/0.8251, allocations: 0.4884 MB / 0.9856 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001352/0.8252, allocations: 71.64 kB / 0.9857 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006839/0.8259, allocations: 202.3 kB / 0.9859 GB, free: 1.395 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003512/0.8263, allocations: 301.2 kB / 0.9862 GB, free: 1.102 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001759/0.8265, allocations: 92.91 kB / 0.9862 GB, free: 1.004 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.8266, allocations: 111.4 kB / 0.9864 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001737/0.8268, allocations: 115.4 kB / 0.9865 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.368e-05/0.8268, allocations: 4 kB / 0.9865 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000443/0.8273, allocations: 299.5 kB / 0.9868 GB, free: 496 kB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.975e-05/0.8274, allocations: 95.61 kB / 0.9868 GB, free: 400 kB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.402e-05/0.8275, allocations: 121.4 kB / 0.987 GB, free: 272 kB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005894/0.8281, allocations: 0.6235 MB / 0.9876 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.8281, allocations: 0 / 0.9876 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.023e-06/0.8281, allocations: 3.938 kB / 0.9876 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.8281, allocations: 0 / 0.9876 GB, free: 15.64 MB / 0.7481 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.0009387/0.829, allocations: 0.7963 MB / 0.9884 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.8291, allocations: 12.03 kB / 0.9884 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.779e-05/0.8291, allocations: 42.55 kB / 0.9884 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.418e-05/0.8292, allocations: 63.25 kB / 0.9885 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004584/0.8297, allocations: 359.6 kB / 0.9888 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.8297, allocations: 8 kB / 0.9888 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.8297, allocations: 8 kB / 0.9888 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002294/0.83, allocations: 130.1 kB / 0.9889 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.83, allocations: 0 / 0.9889 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.83, allocations: 0 / 0.9889 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.994e-06/0.83, allocations: 4 kB / 0.9889 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001511/0.8302, allocations: 100 kB / 0.989 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007228/0.8309, allocations: 0.5514 MB / 0.9896 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/0.8311, allocations: 106.5 kB / 0.9897 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.357e-05/0.8312, allocations: 64.97 kB / 0.9897 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.874e-05/0.8312, allocations: 8 kB / 0.9898 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002111/0.8314, allocations: 129.1 kB / 0.9899 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=11): time 1.663e-06/0.8315, allocations: 0 / 0.9899 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of matching and sorting (n=11): time 0.0004552/0.8319, allocations: 302.5 kB / 0.9902 GB, free: 12.78 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/0.832, allocations: 96.98 kB / 0.9903 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008745/0.8329, allocations: 0.7817 MB / 0.991 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.8329, allocations: 25.7 kB / 0.991 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002453/0.8331, allocations: 296.2 kB / 0.9913 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.998e-05/0.8332, allocations: 23.7 kB / 0.9914 GB, free: 11.53 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.015e-06/0.8332, allocations: 7.938 kB / 0.9914 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.8334, allocations: 310 kB / 0.9917 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.8335, allocations: 47.97 kB / 0.9917 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.432e-05/0.8336, allocations: 47.97 kB / 0.9917 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.566e-05/0.8337, allocations: 69.69 kB / 0.9918 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.8337, allocations: 0 / 0.9918 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003161/0.834, allocations: 266.4 kB / 0.9921 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.307e-05/0.834, allocations: 37.69 kB / 0.9921 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.8341, allocations: 4 kB / 0.9921 GB, free: 10.72 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.8341, allocations: 0 / 0.9921 GB, free: 10.72 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.724e-05/0.8342, allocations: 11.94 kB / 0.9921 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.8342, allocations: 0 / 0.9921 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.8343, allocations: 19.89 kB / 0.9921 GB, free: 10.69 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/0.8343, allocations: 4 kB / 0.9921 GB, free: 10.69 MB / 0.7481 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 ($whenCondition1,speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled,greaterThreshold.y,booleanToInteger.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003207/0.8346, allocations: 335.4 kB / 0.9925 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.104e-05/0.8347, allocations: 67.16 kB / 0.9925 GB, free: 10.28 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004158/0.8351, allocations: 297 kB / 0.9928 GB, free: 9.969 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.8352, allocations: 0 / 0.9928 GB, free: 9.969 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.8352, allocations: 0 / 0.9928 GB, free: 9.969 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.8352, allocations: 3.938 kB / 0.9928 GB, free: 9.965 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003589/0.8355, allocations: 397.2 kB / 0.9932 GB, free: 9.527 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.8356, allocations: 128 / 0.9932 GB, free: 9.527 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.828e-05/0.8356, allocations: 8 kB / 0.9932 GB, free: 9.52 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.8356, allocations: 3.984 kB / 0.9932 GB, free: 9.516 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.8356, allocations: 4 kB / 0.9932 GB, free: 9.512 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.8356, allocations: 0 / 0.9932 GB, free: 9.512 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.8356, allocations: 4.156 kB / 0.9932 GB, free: 9.508 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003521/0.836, allocations: 314.2 kB / 0.9935 GB, free: 9.176 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.8361, allocations: 144.3 kB / 0.9936 GB, free: 9.016 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.474e-05/0.8362, allocations: 8 kB / 0.9937 GB, free: 9.008 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.8363, allocations: 7.984 kB / 0.9937 GB, free: 9 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.603e-05/0.8364, allocations: 4 kB / 0.9937 GB, free: 8.996 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.8364, allocations: 8 kB / 0.9937 GB, free: 8.988 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006452/0.837, allocations: 0.5887 MB / 0.9942 GB, free: 8.402 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.837, allocations: 0 / 0.9942 GB, free: 8.402 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004221/0.8375, allocations: 120 kB / 0.9944 GB, free: 8.285 MB / 0.7481 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008648/0.8383, allocations: 0.9334 MB / 0.9953 GB, free: 7.312 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002762/0.8386, allocations: 211.3 kB / 0.9955 GB, free: 7.094 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.8386, allocations: 0 / 0.9955 GB, free: 7.094 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.8388, allocations: 147.4 kB / 0.9956 GB, free: 6.938 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005513/0.8394, allocations: 120.6 kB / 0.9957 GB, free: 6.824 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004446/0.8438, allocations: 3.637 MB / 0.9993 GB, free: 3.125 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000542/0.8444, allocations: 0.9785 MB / 1 GB, free: 2.121 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000115/0.8445, allocations: 21.95 kB / 1 GB, free: 2.098 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001884/0.8447, allocations: 167.4 kB / 1 GB, free: 1.934 MB / 0.7481 GB Notification: Performance of SimCode: time 7.21e-07/0.8447, allocations: 0 / 1 GB, free: 1.934 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02457/0.8693, allocations: 11.35 MB / 1.011 GB, free: 6.883 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001867/0.8695, allocations: 213.8 kB / 1.012 GB, free: 6.641 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.992/2.862, allocations: 64 / 1.012 GB, free: 6.641 MB / 0.7637 GB (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) Environment - environmentSimulation: