Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",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.8731/0.8731, allocations: 128.7 MB / 143.7 MB, free: 2.32 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.001132/0.001132, allocations: 176.4 kB / 173.7 MB, free: 6.125 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.438/1.438, allocations: 205.4 MB / 409 MB, free: 10.49 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.0008706/0.0008706, allocations: 95.91 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003087/0.0003088, allocations: 9.375 kB / 0.5604 GB, free: 97.51 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1375, allocations: 76.78 MB / 0.6354 GB, free: 30.44 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1297/0.2673, allocations: 104.4 MB / 0.7374 GB, free: 5.91 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002202/0.2675, allocations: 83.95 kB / 0.7374 GB, free: 5.828 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.0171/0.2847, allocations: 5.724 MB / 0.743 GB, free: 96 kB / 0.5105 GB Notification: Performance of FrontEnd: time 2.195e-06/0.2847, allocations: 0 / 0.743 GB, free: 96 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.2847, allocations: 0 / 0.743 GB, free: 96 kB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.2756/0.5603, allocations: 360.1 kB / 0.7434 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.593e-05/0.5604, allocations: 10.31 kB / 0.7434 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.664e-05/0.5604, allocations: 33.45 kB / 0.7434 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.227e-05/0.5604, allocations: 3.344 kB / 0.7434 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.22e-05/0.5605, allocations: 161.2 kB / 0.7436 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.5606, allocations: 2.125 kB / 0.7436 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.5606, allocations: 7.125 kB / 0.7436 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.5617, allocations: 173.1 kB / 0.7437 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.5617, allocations: 0 / 0.7437 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.5618, allocations: 7.078 kB / 0.7437 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.963e-05/0.5618, allocations: 0 / 0.7437 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/0.5628, allocations: 142.5 kB / 0.7439 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002856/0.5631, allocations: 254.7 kB / 0.7441 GB, free: 109 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.5642, allocations: 176.2 kB / 0.7443 GB, free: 109 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003284/0.5646, allocations: 191 kB / 0.7445 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.656e-05/0.5646, allocations: 39.91 kB / 0.7445 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/0.5646, allocations: 0 / 0.7445 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4): time 0.002066/0.5667, allocations: 310.1 kB / 0.7448 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/0.5667, allocations: 55.66 kB / 0.7449 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.936e-05/0.5668, allocations: 93.98 kB / 0.7449 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.5668, allocations: 27.36 kB / 0.745 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.435e-05/0.5668, allocations: 89.86 kB / 0.7451 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.485e-05/0.5669, allocations: 6.594 kB / 0.7451 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.345e-06/0.5669, allocations: 1.562 kB / 0.7451 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.934e-05/0.5669, allocations: 321 kB / 0.7454 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/0.5671, allocations: 37.22 kB / 0.7454 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000205/0.5674, allocations: 54.98 kB / 0.7455 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001926/0.5676, allocations: 34.61 kB / 0.7455 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.5676, allocations: 0 / 0.7455 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004318/0.568, allocations: 126.1 kB / 0.7456 GB, free: 108 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.568, allocations: 8.75 kB / 0.7456 GB, free: 108 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.568, allocations: 3.953 kB / 0.7456 GB, free: 108 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.5681, allocations: 0 / 0.7456 GB, free: 108 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002089/0.5683, allocations: 24.52 kB / 0.7457 GB, free: 108 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.5683, allocations: 1.188 kB / 0.7457 GB, free: 108 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/0.5685, allocations: 25.39 kB / 0.7457 GB, free: 108 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.5685, allocations: 7.219 kB / 0.7457 GB, free: 108 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 prepare postOptimizeDAE: time 6.039e-05/0.5686, allocations: 111.7 kB / 0.7458 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/0.5686, allocations: 0 / 0.7458 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.661e-05/0.5686, allocations: 6.75 kB / 0.7458 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.5686, allocations: 5.203 kB / 0.7458 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.5687, allocations: 1.062 kB / 0.7458 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.5687, allocations: 5.25 kB / 0.7458 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.5688, allocations: 169.2 kB / 0.746 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.5688, allocations: 0 / 0.746 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001918/0.569, allocations: 22.64 kB / 0.746 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.569, allocations: 1.031 kB / 0.746 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.5691, allocations: 3.188 kB / 0.746 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.5691, allocations: 2.781 kB / 0.746 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.5691, allocations: 3.953 kB / 0.746 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004735/0.5695, allocations: 219.8 kB / 0.7462 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.291e-05/0.5696, allocations: 78.05 kB / 0.7463 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.851e-05/0.5696, allocations: 0.625 kB / 0.7463 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/0.5698, allocations: 13.58 kB / 0.7463 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.897e-05/0.5698, allocations: 13.48 kB / 0.7463 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.5699, allocations: 1.562 kB / 0.7463 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.166e-05/0.5699, allocations: 80.31 kB / 0.7464 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5699, allocations: 1.438 kB / 0.7464 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002355/0.5701, allocations: 14.28 kB / 0.7464 GB, free: 107.4 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0006635/0.5708, allocations: 0.7496 MB / 0.7471 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004553/0.5713, allocations: 86 kB / 0.7472 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.5713, allocations: 0 / 0.7472 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001932/0.5715, allocations: 44.94 kB / 0.7473 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001391/0.5716, allocations: 2.812 kB / 0.7473 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007076/0.5723, allocations: 216.8 kB / 0.7475 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.5725, allocations: 0.6792 MB / 0.7481 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 9.47e-05/0.5726, allocations: 11.5 kB / 0.7481 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.138e-05/0.5726, allocations: 10.62 kB / 0.7482 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of SimCode: time 9.52e-07/0.5726, allocations: 0 / 0.7482 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01193/0.5846, allocations: 1.206 MB / 0.7493 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000156/0.5848, allocations: 214.8 kB / 0.7495 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.548/2.133, allocations: 0 / 0.7495 GB, free: 105.5 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)