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.7235/0.7235, allocations: 127.3 MB / 139.8 MB, free: 15.47 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001181/0.001181, allocations: 179.8 kB / 169.7 MB, free: 1.75 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.774/1.774, allocations: 205.1 MB / 404.5 MB, free: 1.645 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.001006/0.001006, allocations: 94.34 kB / 481.8 MB, free: 4.293 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.993e-05/4.006e-05, allocations: 4 kB / 0.5533 GB, free: 54.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.1717, allocations: 76.75 MB / 0.6282 GB, free: 9.918 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5728/0.7446, allocations: 115.4 MB / 0.7409 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/0.7449, allocations: 94.38 kB / 0.741 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.03543/0.7803, allocations: 11.55 MB / 0.7523 GB, free: 3.539 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7804, allocations: 0 / 0.7523 GB, free: 3.539 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.08e-05/0.7804, allocations: 4 kB / 0.7523 GB, free: 3.535 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.001377/0.7818, allocations: 0.5383 MB / 0.7528 GB, free: 2.969 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.002e-05/0.7819, allocations: 12.03 kB / 0.7528 GB, free: 2.957 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.259e-05/0.782, allocations: 41.67 kB / 0.7529 GB, free: 2.91 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000474/0.7825, allocations: 50.84 kB / 0.7529 GB, free: 2.863 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001723/0.7842, allocations: 0.6055 MB / 0.7535 GB, free: 2.344 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/0.7843, allocations: 11.66 kB / 0.7535 GB, free: 2.336 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.693e-05/0.7843, allocations: 10.88 kB / 0.7535 GB, free: 2.328 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003745/0.7847, allocations: 140.7 kB / 0.7537 GB, free: 2.211 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.7847, allocations: 0 / 0.7537 GB, free: 2.211 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.163e-05/0.7848, allocations: 2.938 kB / 0.7537 GB, free: 2.211 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.7848, allocations: 4 kB / 0.7537 GB, free: 2.207 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002101/0.785, allocations: 95.69 kB / 0.7538 GB, free: 2.137 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001338/0.7863, allocations: 0.4961 MB / 0.7543 GB, free: 1.668 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002906/0.7866, allocations: 102.2 kB / 0.7543 GB, free: 1.586 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.888e-05/0.7867, allocations: 42.59 kB / 0.7544 GB, free: 1.555 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.788e-05/0.7868, allocations: 8 kB / 0.7544 GB, free: 1.547 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.286e-05/0.7869, allocations: 38.55 kB / 0.7544 GB, free: 1.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.893e-06/0.7869, allocations: 0 / 0.7544 GB, free: 1.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0004699/0.7873, allocations: 135.4 kB / 0.7546 GB, free: 1.383 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.084e-05/0.7874, allocations: 58.72 kB / 0.7546 GB, free: 1.316 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005045/0.7879, allocations: 296.4 kB / 0.7549 GB, free: 1.074 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.721e-05/0.788, allocations: 25.7 kB / 0.7549 GB, free: 1.043 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/0.7882, allocations: 158.5 kB / 0.7551 GB, free: 0.9297 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.343e-05/0.7882, allocations: 27.31 kB / 0.7551 GB, free: 0.9062 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.445e-05/0.7882, allocations: 3.438 kB / 0.7551 GB, free: 0.9062 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000256/0.7885, allocations: 344.6 kB / 0.7554 GB, free: 0.5703 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.7886, allocations: 46.3 kB / 0.7555 GB, free: 0.5391 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001735/0.7888, allocations: 117.3 kB / 0.7556 GB, free: 424 kB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/0.789, allocations: 61.84 kB / 0.7556 GB, free: 376 kB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.789, allocations: 4 kB / 0.7557 GB, free: 372 kB / 0.4948 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004771/0.7895, allocations: 208.8 kB / 0.7559 GB, free: 192 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000468/0.79, allocations: 0.7081 MB / 0.7565 GB, free: 15.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.79, allocations: 3.938 kB / 0.7565 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.529e-05/0.79, allocations: 4 kB / 0.7566 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002942/0.7903, allocations: 47.47 kB / 0.7566 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.814e-05/0.7903, allocations: 7.984 kB / 0.7566 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00023/0.7906, allocations: 26.75 kB / 0.7566 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.576e-05/0.7906, allocations: 15.98 kB / 0.7566 GB, free: 15.34 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.7907, allocations: 8 kB / 0.7567 GB, free: 15.33 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003728/0.791, allocations: 171.7 kB / 0.7568 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.7911, allocations: 0 / 0.7568 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.347e-06/0.7911, allocations: 4 kB / 0.7568 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000209/0.7913, allocations: 47.91 kB / 0.7569 GB, free: 15.15 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.7913, allocations: 0 / 0.7569 GB, free: 15.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002169/0.7915, allocations: 35.47 kB / 0.7569 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-05/0.7916, allocations: 19.94 kB / 0.7569 GB, free: 15.1 MB / 0.5105 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.0001413/0.7917, allocations: 118 kB / 0.757 GB, free: 14.99 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.721e-05/0.7918, allocations: 19.72 kB / 0.7571 GB, free: 14.97 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003912/0.7922, allocations: 177.1 kB / 0.7572 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.7922, allocations: 0 / 0.7572 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.7922, allocations: 0 / 0.7572 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.7922, allocations: 0 / 0.7572 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004011/0.7927, allocations: 266.9 kB / 0.7575 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.7927, allocations: 0 / 0.7575 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000149/0.7928, allocations: 23.98 kB / 0.7575 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.7928, allocations: 4 kB / 0.7575 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.7929, allocations: 11.61 kB / 0.7575 GB, free: 14.51 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.7929, allocations: 0 / 0.7575 GB, free: 14.51 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.7929, allocations: 0 / 0.7575 GB, free: 14.51 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003018/0.7932, allocations: 240.2 kB / 0.7577 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.7933, allocations: 96.02 kB / 0.7578 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.406e-05/0.7933, allocations: 0 / 0.7578 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/0.7935, allocations: 15.98 kB / 0.7578 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.181e-05/0.7936, allocations: 11.3 kB / 0.7579 GB, free: 14.15 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-05/0.7936, allocations: 8 kB / 0.7579 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002748/0.7939, allocations: 244.1 kB / 0.7581 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7939, allocations: 4.125 kB / 0.7581 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009166/0.7948, allocations: 174.2 kB / 0.7583 GB, free: 13.79 MB / 0.5105 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.001688/0.7965, allocations: 1.084 MB / 0.7593 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005188/0.797, allocations: 228.2 kB / 0.7595 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.797, allocations: 0 / 0.7595 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 8.938e-05/0.7971, allocations: 46.17 kB / 0.7596 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005189/0.7977, allocations: 98.44 kB / 0.7597 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.7987, allocations: 439.5 kB / 0.7601 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004679/0.7992, allocations: 0.7775 MB / 0.7609 GB, free: 11.23 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004845/0.7997, allocations: 126.8 kB / 0.761 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/0.7999, allocations: 82.45 kB / 0.7611 GB, free: 11.07 MB / 0.5105 GB Notification: Performance of SimCode: time 5.56e-06/0.7999, allocations: 0 / 0.7611 GB, free: 11.07 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03307/0.833, allocations: 12.06 MB / 0.7728 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002405/0.8333, allocations: 175.3 kB / 0.773 GB, free: 15 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.304/3.137, allocations: 4 kB / 0.773 GB, free: 15 MB / 0.5261 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)