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.001157/0.001157, allocations: 115.6 kB / 16.37 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.001191/0.001191, allocations: 191.9 kB / 17.31 MB, free: 5.613 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.3/1.3, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002059/0.002059, allocations: 289.5 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.919/0.919, allocations: 169.3 MB / 0.4989 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001748/0.001748, allocations: 94.39 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.164, allocations: 86.97 MB / 0.6816 GB, free: 7.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003896/0.168, allocations: 2.301 MB / 0.6839 GB, free: 5.141 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006002/0.174, allocations: 3.781 MB / 0.6875 GB, free: 1.344 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002946/0.1743, allocations: 4 kB / 0.6875 GB, free: 1.34 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2565/0.4308, allocations: 2.999 MB / 0.6905 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008279/0.4317, allocations: 401.4 kB / 0.6909 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.4327, allocations: 0.5021 MB / 0.6914 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004428/0.4371, allocations: 3.101 MB / 0.6944 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.4373, allocations: 40.45 kB / 0.6944 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002708/0.4376, allocations: 204 kB / 0.6946 GB, free: 13.1 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002803/0.4378, allocations: 214.7 kB / 0.6948 GB, free: 13.06 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.362e-05/0.4379, allocations: 22.5 kB / 0.6948 GB, free: 13.06 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001133/0.439, allocations: 0.7415 MB / 0.6956 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002199/0.4393, allocations: 210.1 kB / 0.6958 GB, free: 13.01 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001949/0.4395, allocations: 241 kB / 0.696 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00114/0.4406, allocations: 1.014 MB / 0.697 GB, free: 12.57 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.4406, allocations: 0 / 0.697 GB, free: 12.57 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4406, allocations: 1.156 kB / 0.697 GB, free: 12.57 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.854e-06/0.4407, allocations: 1.031 kB / 0.697 GB, free: 12.57 MB / 494.1 MB 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.001197/0.4419, allocations: 0.8884 MB / 0.6979 GB, free: 11.88 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.4419, allocations: 8.625 kB / 0.6979 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001256/0.4432, allocations: 205.5 kB / 0.6981 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001835/0.445, allocations: 0.962 MB / 0.699 GB, free: 11.37 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.445, allocations: 8.812 kB / 0.699 GB, free: 11.37 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.745e-05/0.4451, allocations: 12.34 kB / 0.699 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005444/0.4456, allocations: 262.1 kB / 0.6993 GB, free: 11.28 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.4457, allocations: 4.547 kB / 0.6993 GB, free: 11.28 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.167e-05/0.4457, allocations: 5.406 kB / 0.6993 GB, free: 11.27 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.4457, allocations: 1.812 kB / 0.6993 GB, free: 11.27 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000635/0.4463, allocations: 234.4 kB / 0.6995 GB, free: 11.22 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001242/0.4476, allocations: 0.83 MB / 0.7003 GB, free: 10.75 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006684/0.4483, allocations: 297.1 kB / 0.7006 GB, free: 10.66 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003106/0.4486, allocations: 121.6 kB / 0.7007 GB, free: 10.63 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.4486, allocations: 2.797 kB / 0.7007 GB, free: 10.63 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.651e-05/0.4486, allocations: 36.5 kB / 0.7007 GB, free: 10.59 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.422e-06/0.4487, allocations: 4 kB / 0.7008 GB, free: 10.58 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.001159/0.4498, allocations: 441.9 kB / 0.7012 GB, free: 10.44 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.881e-05/0.4498, allocations: 53.31 kB / 0.7012 GB, free: 10.38 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007655/0.4506, allocations: 0.7372 MB / 0.7019 GB, free: 10.05 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/0.4507, allocations: 27.23 kB / 0.702 GB, free: 10.02 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.4508, allocations: 230.9 kB / 0.7022 GB, free: 9.836 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.024e-05/0.4508, allocations: 43.8 kB / 0.7022 GB, free: 9.805 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002096/0.4511, allocations: 159.3 kB / 0.7024 GB, free: 9.742 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.588e-05/0.4512, allocations: 368.2 kB / 0.7027 GB, free: 9.406 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006614/0.4518, allocations: 439.4 kB / 0.7032 GB, free: 9.266 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007228/0.4526, allocations: 0.5267 MB / 0.7037 GB, free: 9.027 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001239/0.4538, allocations: 0.8667 MB / 0.7045 GB, free: 8.684 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.4538, allocations: 1.562 kB / 0.7045 GB, free: 8.684 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00159/0.4554, allocations: 1.072 MB / 0.7056 GB, free: 8.301 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.4554, allocations: 9.562 kB / 0.7056 GB, free: 8.297 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.4555, allocations: 1.844 kB / 0.7056 GB, free: 8.297 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.4555, allocations: 4.625 kB / 0.7056 GB, free: 8.297 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000493/0.456, allocations: 116.8 kB / 0.7057 GB, free: 8.281 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.456, allocations: 4.75 kB / 0.7057 GB, free: 8.281 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004326/0.4564, allocations: 68.12 kB / 0.7058 GB, free: 8.246 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.173e-05/0.4565, allocations: 32.75 kB / 0.7058 GB, free: 8.242 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007559/0.4573, allocations: 0.5462 MB / 0.7063 GB, free: 7.996 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005795/0.4579, allocations: 472.6 kB / 0.7068 GB, free: 7.773 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001003/0.4589, allocations: 0.7199 MB / 0.7075 GB, free: 7.477 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.884e-06/0.4589, allocations: 1.094 kB / 0.7075 GB, free: 7.477 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001371/0.4603, allocations: 0.9196 MB / 0.7084 GB, free: 7.141 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.4603, allocations: 6.312 kB / 0.7084 GB, free: 7.141 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.4603, allocations: 5.031 kB / 0.7084 GB, free: 7.137 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.58e-06/0.4603, allocations: 5.234 kB / 0.7084 GB, free: 7.137 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004113/0.4607, allocations: 104.6 kB / 0.7085 GB, free: 7.129 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.4607, allocations: 7.938 kB / 0.7085 GB, free: 7.125 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003985/0.4611, allocations: 53.45 kB / 0.7086 GB, free: 7.105 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-05/0.4612, allocations: 26.59 kB / 0.7086 GB, free: 7.102 MB / 494.1 MB 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.0001318/0.4613, allocations: 197.7 kB / 0.7088 GB, free: 6.906 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.972e-05/0.4614, allocations: 55.84 kB / 0.7088 GB, free: 6.871 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008546/0.4623, allocations: 363.9 kB / 0.7092 GB, free: 6.734 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.4623, allocations: 2.312 kB / 0.7092 GB, free: 6.734 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.4623, allocations: 0 / 0.7092 GB, free: 6.734 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4623, allocations: 0.5156 kB / 0.7092 GB, free: 6.734 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004506/0.4627, allocations: 397.8 kB / 0.7095 GB, free: 6.473 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.4628, allocations: 1.312 kB / 0.7096 GB, free: 6.473 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002478/0.463, allocations: 42.22 kB / 0.7096 GB, free: 6.469 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.463, allocations: 4.594 kB / 0.7096 GB, free: 6.465 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/0.463, allocations: 9.359 kB / 0.7096 GB, free: 6.461 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.4631, allocations: 0 / 0.7096 GB, free: 6.461 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.4631, allocations: 0 / 0.7096 GB, free: 6.461 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006982/0.4638, allocations: 431.1 kB / 0.71 GB, free: 6.23 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000152/0.4639, allocations: 153.3 kB / 0.7102 GB, free: 6.09 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.25e-05/0.464, allocations: 4.875 kB / 0.7102 GB, free: 6.086 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002732/0.4643, allocations: 19.33 kB / 0.7102 GB, free: 6.086 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.986e-05/0.4643, allocations: 11.62 kB / 0.7102 GB, free: 6.082 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.185e-05/0.4643, allocations: 13.47 kB / 0.7102 GB, free: 6.078 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005234/0.4649, allocations: 0.4956 MB / 0.7107 GB, free: 5.863 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4649, allocations: 0 / 0.7107 GB, free: 5.863 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001156/0.466, allocations: 309.4 kB / 0.711 GB, free: 5.824 MB / 494.1 MB 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.0007641/0.4668, allocations: 362.1 kB / 0.7113 GB, free: 5.699 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001978/0.4688, allocations: 1.145 MB / 0.7125 GB, free: 5.309 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4688, allocations: 0 / 0.7125 GB, free: 5.309 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000322/0.4691, allocations: 133.4 kB / 0.7126 GB, free: 5.277 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007933/0.4699, allocations: 200.5 kB / 0.7128 GB, free: 5.219 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.4713, allocations: 0.9382 MB / 0.7137 GB, free: 4.746 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003905/0.4717, allocations: 0.898 MB / 0.7146 GB, free: 4.008 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005491/0.4723, allocations: 198.4 kB / 0.7148 GB, free: 3.949 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001594/0.4724, allocations: 54.5 kB / 0.7148 GB, free: 3.934 MB / 494.1 MB Notification: Performance of SimCode: time 4.1e-07/0.4725, allocations: 0 / 0.7148 GB, free: 3.934 MB / 494.1 MB Notification: Performance of Templates: time 0.01767/0.4901, allocations: 12.31 MB / 0.7268 GB, free: 14.73 MB / 0.4981 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 gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)