Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6992/0.6992, allocations: 127.4 MB / 134.9 MB, free: 3.727 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00112/0.00112, allocations: 180.8 kB / 164.6 MB, free: 6.52 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.592/1.592, allocations: 205.2 MB / 399.5 MB, free: 5.926 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001035/0.001035, allocations: 94.09 kB / 476.7 MB, free: 8.641 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.95e-05/1.951e-05, allocations: 7.938 kB / 0.5467 GB, free: 60.38 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1518, allocations: 76.76 MB / 0.6216 GB, free: 15.55 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5476/0.6995, allocations: 114.9 MB / 0.7338 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/0.6998, allocations: 83.7 kB / 0.7339 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03381/0.7336, allocations: 11.34 MB / 0.745 GB, free: 7.359 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7337, allocations: 0 / 0.745 GB, free: 7.359 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.764e-05/0.7337, allocations: 4 kB / 0.745 GB, free: 7.355 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009603/0.7347, allocations: 0.5412 MB / 0.7455 GB, free: 6.789 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.7348, allocations: 12.02 kB / 0.7455 GB, free: 6.777 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003446/0.7351, allocations: 51.59 kB / 0.7456 GB, free: 6.727 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001253/0.7364, allocations: 0.6091 MB / 0.7462 GB, free: 6.207 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.7364, allocations: 4 kB / 0.7462 GB, free: 6.203 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.841e-05/0.7364, allocations: 8 kB / 0.7462 GB, free: 6.195 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002335/0.7367, allocations: 117.7 kB / 0.7463 GB, free: 6.109 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002114/0.7369, allocations: 120.5 kB / 0.7464 GB, free: 6.008 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.7369, allocations: 3.938 kB / 0.7464 GB, free: 6.004 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/0.7369, allocations: 4 kB / 0.7464 GB, free: 6 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.737, allocations: 4 kB / 0.7464 GB, free: 5.996 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008011/0.7378, allocations: 470.5 kB / 0.7469 GB, free: 5.566 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/0.738, allocations: 146 kB / 0.747 GB, free: 5.453 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.54e-05/0.7381, allocations: 59.14 kB / 0.7471 GB, free: 5.406 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.7381, allocations: 3.625 kB / 0.7471 GB, free: 5.406 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.7381, allocations: 34.5 kB / 0.7471 GB, free: 5.363 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.7382, allocations: 0 / 0.7471 GB, free: 5.363 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0004563/0.7386, allocations: 178.1 kB / 0.7473 GB, free: 5.211 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.7387, allocations: 63.34 kB / 0.7473 GB, free: 5.137 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002646/0.7389, allocations: 270.2 kB / 0.7476 GB, free: 4.918 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.355e-05/0.739, allocations: 25.7 kB / 0.7476 GB, free: 4.887 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.633e-05/0.7391, allocations: 148.9 kB / 0.7478 GB, free: 4.781 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.607e-05/0.7391, allocations: 30.86 kB / 0.7478 GB, free: 4.754 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.318e-05/0.7391, allocations: 0 / 0.7478 GB, free: 4.754 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.7393, allocations: 344.3 kB / 0.7481 GB, free: 4.422 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.7394, allocations: 64.28 kB / 0.7482 GB, free: 4.379 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.7395, allocations: 131.9 kB / 0.7483 GB, free: 4.242 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002608/0.7398, allocations: 91.81 kB / 0.7484 GB, free: 4.176 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.7398, allocations: 0 / 0.7484 GB, free: 4.176 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004734/0.7403, allocations: 245.4 kB / 0.7486 GB, free: 3.969 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003301/0.7406, allocations: 0.701 MB / 0.7493 GB, free: 3.227 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.7407, allocations: 7.953 kB / 0.7493 GB, free: 3.219 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.7407, allocations: 4 kB / 0.7493 GB, free: 3.215 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002436/0.7409, allocations: 47.28 kB / 0.7494 GB, free: 3.172 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.741, allocations: 7.984 kB / 0.7494 GB, free: 3.164 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001718/0.7411, allocations: 23.84 kB / 0.7494 GB, free: 3.141 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.133e-05/0.7412, allocations: 15.98 kB / 0.7494 GB, free: 3.125 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.923e-06/0.7412, allocations: 4 kB / 0.7494 GB, free: 3.121 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003445/0.7415, allocations: 163.3 kB / 0.7496 GB, free: 2.992 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.494e-06/0.7416, allocations: 0 / 0.7496 GB, free: 2.992 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.901e-06/0.7416, allocations: 8 kB / 0.7496 GB, free: 2.984 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000197/0.7418, allocations: 51.98 kB / 0.7496 GB, free: 2.938 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.7418, allocations: 7.938 kB / 0.7496 GB, free: 2.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.7419, allocations: 19.83 kB / 0.7497 GB, free: 2.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.742, allocations: 12 kB / 0.7497 GB, free: 2.898 MB / 0.4948 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 1 * 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.0001018/0.7421, allocations: 112.9 kB / 0.7498 GB, free: 2.781 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002356/0.7423, allocations: 134.6 kB / 0.7499 GB, free: 2.664 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.235e-05/0.7424, allocations: 23.62 kB / 0.7499 GB, free: 2.641 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000349/0.7427, allocations: 159.4 kB / 0.7501 GB, free: 2.504 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.7427, allocations: 0 / 0.7501 GB, free: 2.504 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.7428, allocations: 0 / 0.7501 GB, free: 2.504 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.7428, allocations: 3.984 kB / 0.7501 GB, free: 2.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002806/0.7431, allocations: 243.3 kB / 0.7503 GB, free: 2.258 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.7431, allocations: 4 kB / 0.7503 GB, free: 2.254 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001479/0.7432, allocations: 31.41 kB / 0.7503 GB, free: 2.227 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.7432, allocations: 0 / 0.7503 GB, free: 2.227 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.7433, allocations: 4 kB / 0.7503 GB, free: 2.223 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.7433, allocations: 0 / 0.7503 GB, free: 2.223 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.716e-06/0.7433, allocations: 0 / 0.7503 GB, free: 2.223 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000288/0.7436, allocations: 233.7 kB / 0.7506 GB, free: 2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.787e-05/0.7436, allocations: 104.2 kB / 0.7507 GB, free: 1.883 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.56e-05/0.7437, allocations: 4 kB / 0.7507 GB, free: 1.879 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.7438, allocations: 7.984 kB / 0.7507 GB, free: 1.871 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/0.7439, allocations: 7.984 kB / 0.7507 GB, free: 1.863 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.7439, allocations: 4 kB / 0.7507 GB, free: 1.859 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001966/0.7441, allocations: 211.3 kB / 0.7509 GB, free: 1.699 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7441, allocations: 3.938 kB / 0.7509 GB, free: 1.695 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0007831/0.7449, allocations: 174.1 kB / 0.7511 GB, free: 1.535 MB / 0.4948 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.001208/0.7461, allocations: 1.054 MB / 0.7521 GB, free: 496 kB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003979/0.7465, allocations: 242.2 kB / 0.7523 GB, free: 316 kB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.7465, allocations: 0.875 kB / 0.7523 GB, free: 316 kB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.769e-05/0.7466, allocations: 46.3 kB / 0.7524 GB, free: 280 kB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004314/0.747, allocations: 88.19 kB / 0.7525 GB, free: 208 kB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008356/0.7479, allocations: 430.4 kB / 0.7529 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003805/0.7483, allocations: 0.7736 MB / 0.7536 GB, free: 15 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004311/0.7487, allocations: 127.5 kB / 0.7537 GB, free: 14.87 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.7489, allocations: 84.08 kB / 0.7538 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of SimCode: time 2.9e-07/0.7489, allocations: 0 / 0.7538 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03451/0.7834, allocations: 9.532 MB / 0.7631 GB, free: 5.398 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002383/0.7837, allocations: 167.1 kB / 0.7633 GB, free: 5.207 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.17/2.953, allocations: 0 / 0.7633 GB, free: 5.207 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)