Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.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.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") translateModel(BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 107.5 kB / 16.41 MB, free: 6.449 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.001239/0.001239, allocations: 189.2 kB / 17.34 MB, free: 5.707 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.402/1.402, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002795/0.002795, allocations: 293 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9964/0.9964, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002799/0.002799, allocations: 96.08 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3862/0.389, allocations: 86.98 MB / 0.767 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003769/0.3927, allocations: 2.296 MB / 0.7693 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006348/0.3991, allocations: 3.807 MB / 0.773 GB, free: 13.78 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000171/0.3992, allocations: 4 kB / 0.773 GB, free: 13.78 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002625/0.4019, allocations: 1.066 MB / 0.7741 GB, free: 12.71 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0008196/0.4027, allocations: 422.4 kB / 0.7745 GB, free: 12.3 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009926/0.4037, allocations: 0.5107 MB / 0.775 GB, free: 11.79 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004637/0.4083, allocations: 3.169 MB / 0.7781 GB, free: 8.621 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.4084, allocations: 32.72 kB / 0.7781 GB, free: 8.59 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003411/0.4088, allocations: 227.2 kB / 0.7783 GB, free: 8.367 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003056/0.4091, allocations: 219.2 kB / 0.7785 GB, free: 8.152 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.39e-05/0.4091, allocations: 20 kB / 0.7785 GB, free: 8.133 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001197/0.4103, allocations: 0.7448 MB / 0.7793 GB, free: 7.387 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000232/0.4106, allocations: 219.3 kB / 0.7795 GB, free: 7.172 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002466/0.4108, allocations: 242.6 kB / 0.7797 GB, free: 6.934 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001361/0.4122, allocations: 1.031 MB / 0.7807 GB, free: 5.898 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.4122, allocations: 4 kB / 0.7807 GB, free: 5.895 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.272e-06/0.4122, allocations: 0 / 0.7807 GB, free: 5.895 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.224e-05/0.4122, allocations: 0 / 0.7807 GB, free: 5.895 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.001574/0.4138, allocations: 0.9131 MB / 0.7816 GB, free: 4.93 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.4138, allocations: 8.031 kB / 0.7816 GB, free: 4.922 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001336/0.4151, allocations: 212.4 kB / 0.7818 GB, free: 4.715 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002119/0.4172, allocations: 0.9759 MB / 0.7828 GB, free: 3.695 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.4173, allocations: 8 kB / 0.7828 GB, free: 3.688 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.638e-05/0.4173, allocations: 12 kB / 0.7828 GB, free: 3.676 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005856/0.4179, allocations: 258.4 kB / 0.783 GB, free: 3.418 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.4179, allocations: 0 / 0.783 GB, free: 3.418 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.179e-05/0.4179, allocations: 0 / 0.783 GB, free: 3.418 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.4179, allocations: 4 kB / 0.783 GB, free: 3.414 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007049/0.4186, allocations: 241.7 kB / 0.7833 GB, free: 3.18 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001378/0.42, allocations: 0.8276 MB / 0.7841 GB, free: 2.301 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007636/0.4208, allocations: 294.6 kB / 0.7843 GB, free: 2.004 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003634/0.4211, allocations: 120.7 kB / 0.7845 GB, free: 1.883 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.954e-05/0.4212, allocations: 3.984 kB / 0.7845 GB, free: 1.879 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.4212, allocations: 38.56 kB / 0.7845 GB, free: 1.832 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.4212, allocations: 0 / 0.7845 GB, free: 1.832 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.001251/0.4225, allocations: 441.3 kB / 0.7849 GB, free: 1.395 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.4225, allocations: 59.34 kB / 0.785 GB, free: 1.324 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009051/0.4234, allocations: 0.746 MB / 0.7857 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.85e-05/0.4234, allocations: 29.8 kB / 0.7857 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/0.4236, allocations: 228.9 kB / 0.786 GB, free: 312 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.275e-05/0.4237, allocations: 39.67 kB / 0.786 GB, free: 272 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002312/0.4239, allocations: 166 kB / 0.7862 GB, free: 100 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002054/0.4241, allocations: 370.8 kB / 0.7865 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007422/0.4249, allocations: 439 kB / 0.7869 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008609/0.4257, allocations: 0.5238 MB / 0.7874 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001397/0.4271, allocations: 0.8664 MB / 0.7883 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.4271, allocations: 7.984 kB / 0.7883 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001756/0.4289, allocations: 1.065 MB / 0.7893 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.686e-05/0.4289, allocations: 8 kB / 0.7893 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.4289, allocations: 0 / 0.7893 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.429, allocations: 4 kB / 0.7893 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004984/0.4295, allocations: 119.8 kB / 0.7895 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.4295, allocations: 7.984 kB / 0.7895 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004033/0.4299, allocations: 71.53 kB / 0.7895 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.293e-05/0.4299, allocations: 35.98 kB / 0.7896 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008296/0.4308, allocations: 0.5466 MB / 0.7901 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007377/0.4315, allocations: 464.5 kB / 0.7905 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001237/0.4327, allocations: 0.7198 MB / 0.7912 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.843e-06/0.4327, allocations: 0 / 0.7912 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001613/0.4344, allocations: 0.9226 MB / 0.7921 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.4344, allocations: 8 kB / 0.7922 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.935e-06/0.4344, allocations: 0 / 0.7922 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.951e-06/0.4344, allocations: 4 kB / 0.7922 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004507/0.4348, allocations: 115.9 kB / 0.7923 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.4348, allocations: 7.938 kB / 0.7923 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004047/0.4352, allocations: 59.7 kB / 0.7923 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.691e-05/0.4353, allocations: 27.98 kB / 0.7924 GB, free: 9.598 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (52): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.000165/0.4355, allocations: 196.2 kB / 0.7925 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.496e-05/0.4356, allocations: 67.48 kB / 0.7926 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009471/0.4365, allocations: 346.5 kB / 0.7929 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.4365, allocations: 0 / 0.7929 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.4365, allocations: 4 kB / 0.7929 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.4365, allocations: 0 / 0.7929 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005159/0.437, allocations: 409.3 kB / 0.7933 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.437, allocations: 4 kB / 0.7933 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00026/0.4373, allocations: 39.97 kB / 0.7934 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.4373, allocations: 3.984 kB / 0.7934 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.4373, allocations: 4 kB / 0.7934 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.4373, allocations: 0 / 0.7934 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4373, allocations: 0 / 0.7934 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008657/0.4382, allocations: 438.8 kB / 0.7938 GB, free: 8.035 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002047/0.4384, allocations: 156.6 kB / 0.794 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.726e-05/0.4384, allocations: 0 / 0.794 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002947/0.4387, allocations: 23.97 kB / 0.794 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.48e-05/0.4388, allocations: 11.98 kB / 0.794 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.039e-05/0.4388, allocations: 8 kB / 0.794 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006317/0.4394, allocations: 0.5029 MB / 0.7945 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.4394, allocations: 0 / 0.7945 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009313/0.4404, allocations: 315.6 kB / 0.7948 GB, free: 7.016 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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.0007834/0.4412, allocations: 370.5 kB / 0.7951 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001984/0.4431, allocations: 1.022 MB / 0.7961 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4431, allocations: 0 / 0.7961 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003541/0.4435, allocations: 124.4 kB / 0.7963 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008619/0.4444, allocations: 218.2 kB / 0.7965 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001621/0.446, allocations: 0.9497 MB / 0.7974 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005874/0.4466, allocations: 0.8934 MB / 0.7983 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005748/0.4471, allocations: 192.2 kB / 0.7984 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001687/0.4473, allocations: 47.42 kB / 0.7985 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of SimCode: time 4.61e-07/0.4473, allocations: 4 kB / 0.7985 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of Templates: time 0.02233/0.4696, allocations: 12.41 MB / 0.8106 GB, free: 6.891 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)