Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.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.SpeedSelect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009397/0.0009398, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.000965/0.0009651, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.33/1.33, allocations: 205.4 MB / 222.1 MB, free: 5.523 MB / 174.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.599/1.599, allocations: 292.5 MB / 0.5497 GB, free: 14.6 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.0005095/0.0005097, allocations: 22.14 kB / 0.6736 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.2379, allocations: 116.3 MB / 0.7871 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.002479/0.2404, allocations: 1.74 MB / 0.7888 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002571/0.243, allocations: 2.094 MB / 0.7909 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.2432, allocations: 8 kB / 0.7909 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001105/0.2443, allocations: 0.5179 MB / 0.7914 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002188/0.2445, allocations: 95.72 kB / 0.7915 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005095/0.245, allocations: 177.1 kB / 0.7916 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003707/0.2454, allocations: 291 kB / 0.7919 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.2456, allocations: 60.7 kB / 0.792 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.2457, allocations: 119.4 kB / 0.7921 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001641/0.2459, allocations: 127.4 kB / 0.7922 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.579e-05/0.2459, allocations: 11.98 kB / 0.7922 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001388/0.246, allocations: 43.91 kB / 0.7923 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001364/0.2462, allocations: 115.6 kB / 0.7924 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.2463, allocations: 129.3 kB / 0.7925 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004777/0.2468, allocations: 0.538 MB / 0.793 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2468, allocations: 0 / 0.793 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2468, allocations: 0 / 0.793 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.227e-05/0.2468, allocations: 0 / 0.793 GB, free: 5.844 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001218/0.248, allocations: 0.806 MB / 0.7938 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.2481, allocations: 8.031 kB / 0.7938 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.842e-05/0.2482, allocations: 63.2 kB / 0.7939 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005656/0.2488, allocations: 403.5 kB / 0.7943 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/0.2488, allocations: 4 kB / 0.7943 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/0.2488, allocations: 8 kB / 0.7943 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002152/0.2491, allocations: 92.17 kB / 0.7944 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.2491, allocations: 0 / 0.7944 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.2491, allocations: 11.98 kB / 0.7944 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.2491, allocations: 4 kB / 0.7944 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.2492, allocations: 35.98 kB / 0.7944 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000741/0.25, allocations: 0.5084 MB / 0.7949 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003676/0.2504, allocations: 110.7 kB / 0.795 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.2504, allocations: 0 / 0.795 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000164/0.2506, allocations: 83.5 kB / 0.7951 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.2506, allocations: 0 / 0.7951 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003629/0.2509, allocations: 192.7 kB / 0.7953 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.135e-05/0.251, allocations: 110.8 kB / 0.7954 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000933/0.2519, allocations: 0.8794 MB / 0.7962 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.252, allocations: 37.69 kB / 0.7963 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000239/0.2522, allocations: 300 kB / 0.7966 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.2522, allocations: 19.8 kB / 0.7966 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.62e-06/0.2523, allocations: 0 / 0.7966 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.89e-05/0.2524, allocations: 310 kB / 0.7969 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.863e-05/0.2524, allocations: 27.98 kB / 0.7969 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.597e-05/0.2526, allocations: 80.2 kB / 0.797 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.316e-05/0.2526, allocations: 31.92 kB / 0.797 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2526, allocations: 0 / 0.797 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002499/0.2529, allocations: 156.8 kB / 0.7972 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.2529, allocations: 8 kB / 0.7972 GB, free: 1.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/0.2529, allocations: 7.938 kB / 0.7972 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.253, allocations: 3.938 kB / 0.7972 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.059e-05/0.253, allocations: 23.94 kB / 0.7972 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.2531, allocations: 4.422 kB / 0.7972 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.2532, allocations: 4 kB / 0.7972 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.2532, allocations: 7.984 kB / 0.7972 GB, free: 1.285 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.sta.combiTimeTable.nextTimeEvent,sta.y,sta.combiTimeTable.nextTimeEvent,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0003137/0.2535, allocations: 313.6 kB / 0.7975 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.536e-05/0.2536, allocations: 67.16 kB / 0.7976 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/0.2537, allocations: 77.98 kB / 0.7977 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.2537, allocations: 0 / 0.7977 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.2537, allocations: 3.953 kB / 0.7977 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.2537, allocations: 0 / 0.7977 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004095/0.2541, allocations: 385.4 kB / 0.798 GB, free: 404 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2542, allocations: 0 / 0.798 GB, free: 404 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.838e-05/0.2542, allocations: 15.92 kB / 0.798 GB, free: 388 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.2542, allocations: 0 / 0.798 GB, free: 388 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.2542, allocations: 0 / 0.798 GB, free: 388 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2542, allocations: 0 / 0.798 GB, free: 388 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.227e-06/0.2542, allocations: 3.984 kB / 0.7981 GB, free: 384 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002936/0.2545, allocations: 196.2 kB / 0.7982 GB, free: 168 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/0.2547, allocations: 144.3 kB / 0.7984 GB, free: 4 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.951e-05/0.2548, allocations: 0 / 0.7984 GB, free: 4 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.2549, allocations: 4 kB / 0.7984 GB, free: 0 / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.836e-05/0.255, allocations: 12.06 kB / 0.7984 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.255, allocations: 4 kB / 0.7984 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006673/0.2556, allocations: 0.6512 MB / 0.799 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of sort global known variables: time 5.51e-07/0.2557, allocations: 0 / 0.799 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002831/0.2559, allocations: 63.94 kB / 0.7991 GB, free: 15.27 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,sta.y,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008909/0.2568, allocations: 429.3 kB / 0.7995 GB, free: 15 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001975/0.257, allocations: 71.95 kB / 0.7996 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.2571, allocations: 0 / 0.7996 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 8.364e-05/0.2571, allocations: 39.92 kB / 0.7996 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005399/0.2577, allocations: 138.8 kB / 0.7997 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.2592, allocations: 1.165 MB / 0.8009 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006433/0.2599, allocations: 0.994 MB / 0.8019 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001442/0.26, allocations: 46.56 kB / 0.8019 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.373e-05/0.2601, allocations: 23.44 kB / 0.8019 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of SimCode: time 3.91e-07/0.2601, allocations: 0 / 0.8019 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of Templates: time 0.01001/0.2701, allocations: 5.264 MB / 0.8071 GB, free: 7.328 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1) Environment - environmentSimulation: