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.005059/0.005059, allocations: 100.5 kB / 15.73 MB, free: 5.98 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.001068/0.001068, allocations: 200.3 kB / 16.68 MB, free: 5.906 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002052/0.002052, allocations: 287.6 kB / 290.8 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9756/0.9756, allocations: 169.2 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 95.84 kB / 0.6814 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4134/0.4152, allocations: 86.98 MB / 0.7664 GB, free: 3.777 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003514/0.4188, allocations: 2.3 MB / 0.7686 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00575/0.4246, allocations: 3.784 MB / 0.7723 GB, free: 13.67 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002925/0.4249, allocations: 8 kB / 0.7723 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002719/0.4277, allocations: 1.048 MB / 0.7734 GB, free: 12.61 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0009094/0.4286, allocations: 418.4 kB / 0.7738 GB, free: 12.2 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.4297, allocations: 0.5146 MB / 0.7743 GB, free: 11.68 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004509/0.4342, allocations: 3.149 MB / 0.7773 GB, free: 8.535 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.4343, allocations: 48.66 kB / 0.7774 GB, free: 8.488 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003942/0.4347, allocations: 239.2 kB / 0.7776 GB, free: 8.254 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003186/0.4351, allocations: 207.2 kB / 0.7778 GB, free: 8.051 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.938e-05/0.4351, allocations: 20 kB / 0.7778 GB, free: 8.031 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001134/0.4363, allocations: 0.7486 MB / 0.7786 GB, free: 7.281 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002202/0.4365, allocations: 223.4 kB / 0.7788 GB, free: 7.062 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002378/0.4367, allocations: 234.6 kB / 0.779 GB, free: 6.832 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001449/0.4382, allocations: 1.028 MB / 0.78 GB, free: 5.801 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4382, allocations: 4 kB / 0.78 GB, free: 5.797 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.783e-06/0.4382, allocations: 0 / 0.78 GB, free: 5.797 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.582e-05/0.4382, allocations: 0 / 0.78 GB, free: 5.797 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.001573/0.4398, allocations: 0.8866 MB / 0.7809 GB, free: 4.859 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.4399, allocations: 8.031 kB / 0.7809 GB, free: 4.852 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001215/0.4411, allocations: 212 kB / 0.7811 GB, free: 4.645 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002034/0.4431, allocations: 0.9793 MB / 0.782 GB, free: 3.621 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.4432, allocations: 12 kB / 0.782 GB, free: 3.609 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.35e-05/0.4432, allocations: 12 kB / 0.7821 GB, free: 3.598 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005413/0.4438, allocations: 255.1 kB / 0.7823 GB, free: 3.344 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.4438, allocations: 4 kB / 0.7823 GB, free: 3.34 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.754e-05/0.4438, allocations: 8 kB / 0.7823 GB, free: 3.332 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.4438, allocations: 0 / 0.7823 GB, free: 3.332 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006207/0.4445, allocations: 231.8 kB / 0.7825 GB, free: 3.105 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00136/0.4458, allocations: 0.8277 MB / 0.7833 GB, free: 2.227 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006771/0.4465, allocations: 294.6 kB / 0.7836 GB, free: 1.93 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000292/0.4468, allocations: 132.7 kB / 0.7837 GB, free: 1.797 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.4469, allocations: 3.938 kB / 0.7838 GB, free: 1.793 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.4469, allocations: 34.56 kB / 0.7838 GB, free: 1.75 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/0.4469, allocations: 0 / 0.7838 GB, free: 1.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.001067/0.448, allocations: 436.7 kB / 0.7842 GB, free: 1.316 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.448, allocations: 55.41 kB / 0.7843 GB, free: 1.25 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007705/0.4488, allocations: 0.7381 MB / 0.785 GB, free: 0.5 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/0.4488, allocations: 30.08 kB / 0.785 GB, free: 476 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.449, allocations: 236.7 kB / 0.7852 GB, free: 236 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.756e-05/0.449, allocations: 35.55 kB / 0.7853 GB, free: 200 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001948/0.4492, allocations: 161.9 kB / 0.7854 GB, free: 32 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.4494, allocations: 374.7 kB / 0.7858 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006502/0.4501, allocations: 439 kB / 0.7862 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006815/0.4508, allocations: 0.5278 MB / 0.7867 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/0.452, allocations: 0.8663 MB / 0.7876 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.452, allocations: 0 / 0.7876 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00157/0.4535, allocations: 1.069 MB / 0.7886 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.4536, allocations: 4 kB / 0.7886 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.4536, allocations: 7.938 kB / 0.7886 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.4536, allocations: 4 kB / 0.7886 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004565/0.4541, allocations: 107.9 kB / 0.7887 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.4541, allocations: 3.984 kB / 0.7887 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003939/0.4545, allocations: 79.34 kB / 0.7888 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/0.4546, allocations: 31.98 kB / 0.7888 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007208/0.4553, allocations: 0.5505 MB / 0.7894 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005922/0.456, allocations: 464.4 kB / 0.7898 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001039/0.457, allocations: 0.7237 MB / 0.7905 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.965e-06/0.457, allocations: 0 / 0.7905 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001561/0.4586, allocations: 0.9142 MB / 0.7914 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.4586, allocations: 8.219 kB / 0.7914 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.4586, allocations: 4 kB / 0.7914 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.62e-06/0.4586, allocations: 4 kB / 0.7914 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004034/0.459, allocations: 107.8 kB / 0.7915 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.459, allocations: 7.938 kB / 0.7915 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000384/0.4594, allocations: 71.62 kB / 0.7916 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.442e-05/0.4595, allocations: 24 kB / 0.7916 GB, free: 9.535 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.0001428/0.4596, allocations: 192.2 kB / 0.7918 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.384e-05/0.4597, allocations: 55.27 kB / 0.7919 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008857/0.4606, allocations: 354.5 kB / 0.7922 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.4606, allocations: 4 kB / 0.7922 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.4606, allocations: 0 / 0.7922 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.4607, allocations: 3.984 kB / 0.7922 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005282/0.4612, allocations: 409.3 kB / 0.7926 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4612, allocations: 0 / 0.7926 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002365/0.4614, allocations: 39.95 kB / 0.7926 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.4615, allocations: 7.984 kB / 0.7926 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/0.4615, allocations: 4 kB / 0.7926 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.4615, allocations: 3.938 kB / 0.7926 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4615, allocations: 0 / 0.7926 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007747/0.4623, allocations: 438.5 kB / 0.7931 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001768/0.4625, allocations: 144.4 kB / 0.7932 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.894e-05/0.4625, allocations: 4 kB / 0.7932 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002634/0.4628, allocations: 23.97 kB / 0.7932 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.911e-05/0.4629, allocations: 8 kB / 0.7932 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.089e-05/0.4629, allocations: 11.98 kB / 0.7932 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005983/0.4635, allocations: 0.4951 MB / 0.7937 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4635, allocations: 0 / 0.7937 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008718/0.4644, allocations: 319.8 kB / 0.794 GB, free: 6.965 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.0007528/0.4651, allocations: 367.1 kB / 0.7944 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001856/0.467, allocations: 1.142 MB / 0.7955 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.467, allocations: 0.75 kB / 0.7955 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003243/0.4673, allocations: 131.9 kB / 0.7956 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007756/0.4681, allocations: 210.9 kB / 0.7958 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.4697, allocations: 0.935 MB / 0.7967 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004543/0.4701, allocations: 0.8934 MB / 0.7976 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005377/0.4707, allocations: 196.1 kB / 0.7978 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/0.4708, allocations: 51.41 kB / 0.7979 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.4708, allocations: 3.938 kB / 0.7979 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of Templates: time 0.01944/0.4903, allocations: 12.54 MB / 0.8101 GB, free: 6.602 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)