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.006701/0.006701, allocations: 102.3 kB / 15.73 MB, free: 6.012 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.001311/0.001312, allocations: 195.2 kB / 16.67 MB, free: 5.949 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002262/0.002262, allocations: 286.6 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9966/0.9966, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001769/0.001769, allocations: 99.86 kB / 0.6814 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1716, allocations: 86.97 MB / 0.7664 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.00408/0.1758, allocations: 2.305 MB / 0.7686 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006264/0.182, allocations: 3.786 MB / 0.7723 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003281/0.1824, allocations: 11.94 kB / 0.7723 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002924/0.1854, allocations: 1.052 MB / 0.7734 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001029/0.1864, allocations: 430.4 kB / 0.7738 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.1876, allocations: 0.5099 MB / 0.7743 GB, free: 320 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.3836/0.5712, allocations: 3.137 MB / 0.7773 GB, free: 9.699 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.5714, allocations: 42 kB / 0.7774 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004554/0.5719, allocations: 230.2 kB / 0.7776 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003843/0.5723, allocations: 219.1 kB / 0.7778 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.838e-05/0.5724, allocations: 19.38 kB / 0.7778 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001239/0.5736, allocations: 0.7522 MB / 0.7786 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002296/0.5739, allocations: 213.8 kB / 0.7788 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002634/0.5741, allocations: 242.9 kB / 0.779 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001371/0.5755, allocations: 1.026 MB / 0.78 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.5755, allocations: 1 kB / 0.78 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5755, allocations: 2.438 kB / 0.78 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.5756, allocations: 0 / 0.78 GB, free: 9.449 MB / 0.5606 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.00125/0.5768, allocations: 0.8851 MB / 0.7809 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.5768, allocations: 10.38 kB / 0.7809 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001215/0.5781, allocations: 211.6 kB / 0.7811 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001829/0.5799, allocations: 0.9678 MB / 0.782 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.5799, allocations: 10.55 kB / 0.782 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.51e-05/0.58, allocations: 12.41 kB / 0.782 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005773/0.5806, allocations: 255.5 kB / 0.7823 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.5806, allocations: 0 / 0.7823 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/0.5806, allocations: 6.812 kB / 0.7823 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.5806, allocations: 2 kB / 0.7823 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006937/0.5813, allocations: 249.3 kB / 0.7825 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001248/0.5826, allocations: 0.8171 MB / 0.7833 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006517/0.5833, allocations: 303.7 kB / 0.7836 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003074/0.5836, allocations: 124.4 kB / 0.7837 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.781e-05/0.5836, allocations: 7.031 kB / 0.7837 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.548e-05/0.5836, allocations: 39.77 kB / 0.7838 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.5836, allocations: 2.875 kB / 0.7838 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.001112/0.5848, allocations: 430.3 kB / 0.7842 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.413e-05/0.5848, allocations: 53.45 kB / 0.7842 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007089/0.5855, allocations: 0.7441 MB / 0.785 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.5855, allocations: 29.7 kB / 0.785 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.5857, allocations: 234.5 kB / 0.7852 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.889e-05/0.5857, allocations: 33.36 kB / 0.7853 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001939/0.5859, allocations: 167.4 kB / 0.7854 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.481e-05/0.586, allocations: 371.8 kB / 0.7858 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000614/0.5866, allocations: 439.5 kB / 0.7862 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006714/0.5873, allocations: 0.5291 MB / 0.7867 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/0.5885, allocations: 0.8652 MB / 0.7876 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.5886, allocations: 0 / 0.7876 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001523/0.5901, allocations: 1.065 MB / 0.7886 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.5901, allocations: 12.14 kB / 0.7886 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.5901, allocations: 0 / 0.7886 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/0.5902, allocations: 8.031 kB / 0.7886 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004669/0.5906, allocations: 115.7 kB / 0.7887 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/0.5907, allocations: 7.188 kB / 0.7887 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000458/0.5911, allocations: 70.88 kB / 0.7888 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.567e-05/0.5912, allocations: 34.28 kB / 0.7888 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007865/0.592, allocations: 0.5423 MB / 0.7894 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006106/0.5926, allocations: 459.9 kB / 0.7898 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001073/0.5937, allocations: 0.7198 MB / 0.7905 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.994e-06/0.5937, allocations: 4 kB / 0.7905 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001653/0.5954, allocations: 0.9192 MB / 0.7914 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.5954, allocations: 6.547 kB / 0.7914 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.5954, allocations: 5.562 kB / 0.7914 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.076e-06/0.5954, allocations: 4.5 kB / 0.7914 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004478/0.5959, allocations: 113.3 kB / 0.7915 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/0.5959, allocations: 4.391 kB / 0.7915 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004687/0.5964, allocations: 59.19 kB / 0.7916 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.899e-05/0.5964, allocations: 26.09 kB / 0.7916 GB, free: 4.121 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.0001563/0.5966, allocations: 200.7 kB / 0.7918 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.512e-05/0.5967, allocations: 57.06 kB / 0.7919 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009865/0.5977, allocations: 349.7 kB / 0.7922 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.5977, allocations: 1.562 kB / 0.7922 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.5977, allocations: 0 / 0.7922 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.5977, allocations: 5.547 kB / 0.7922 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004606/0.5982, allocations: 402.9 kB / 0.7926 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.5982, allocations: 1.094 kB / 0.7926 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002497/0.5984, allocations: 41.91 kB / 0.7926 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.5985, allocations: 12.08 kB / 0.7926 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.5985, allocations: 7.422 kB / 0.7926 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.5985, allocations: 1.469 kB / 0.7926 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.5985, allocations: 0.6562 kB / 0.7926 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008473/0.5993, allocations: 420.2 kB / 0.793 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001926/0.5995, allocations: 150.4 kB / 0.7932 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.167e-05/0.5996, allocations: 1.938 kB / 0.7932 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002918/0.5999, allocations: 28.12 kB / 0.7932 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.03e-05/0.6, allocations: 8.141 kB / 0.7932 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.911e-05/0.6, allocations: 10.75 kB / 0.7932 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007389/0.6007, allocations: 0.4994 MB / 0.7937 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6008, allocations: 0 / 0.7937 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00182/0.6026, allocations: 312.3 kB / 0.794 GB, free: 2.875 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.0009787/0.6036, allocations: 370.5 kB / 0.7944 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002136/0.6057, allocations: 1.139 MB / 0.7955 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.6057, allocations: 1.062 kB / 0.7955 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00034/0.6061, allocations: 135.5 kB / 0.7956 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008363/0.6069, allocations: 198 kB / 0.7958 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/0.6084, allocations: 0.9368 MB / 0.7967 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004121/0.6089, allocations: 0.9011 MB / 0.7976 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005825/0.6094, allocations: 191.5 kB / 0.7978 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001533/0.6096, allocations: 65.19 kB / 0.7978 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of SimCode: time 4.71e-07/0.6096, allocations: 0 / 0.7978 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of Templates: time 0.02094/0.6306, allocations: 12.53 MB / 0.8101 GB, free: 13.76 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)