Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 177.6 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4983/0.4983, allocations: 90.91 MB / 99.34 MB, free: 2.215 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 221.5 MB / 343.2 MB, free: 1.594 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 91.45 kB / 415.9 MB, free: 11.12 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.678e-05/1.682e-05, allocations: 4 kB / 494.6 MB, free: 52.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1349, allocations: 72.31 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4249/0.5598, allocations: 102.5 MB / 0.6537 GB, free: 7.477 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001959/0.5601, allocations: 77.86 kB / 0.6538 GB, free: 7.434 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01543/0.5755, allocations: 5.378 MB / 0.6591 GB, free: 2.969 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.5756, allocations: 4 kB / 0.6591 GB, free: 2.965 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.114e-06/0.5756, allocations: 0 / 0.6591 GB, free: 2.965 MB / 458.7 MB 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.0003288/0.5759, allocations: 370 kB / 0.6594 GB, free: 2.562 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.576, allocations: 8.031 kB / 0.6594 GB, free: 2.555 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.787e-05/0.576, allocations: 0 / 0.6594 GB, free: 2.555 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.5761, allocations: 171 kB / 0.6596 GB, free: 2.348 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.5761, allocations: 4 kB / 0.6596 GB, free: 2.344 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.052e-05/0.5762, allocations: 0 / 0.6596 GB, free: 2.344 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.944e-05/0.5762, allocations: 15.12 kB / 0.6596 GB, free: 2.332 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.497e-05/0.5763, allocations: 44.77 kB / 0.6597 GB, free: 2.285 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.5763, allocations: 0 / 0.6597 GB, free: 2.285 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-06/0.5763, allocations: 4 kB / 0.6597 GB, free: 2.281 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.5763, allocations: 0 / 0.6597 GB, free: 2.281 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002667/0.5766, allocations: 223.7 kB / 0.6599 GB, free: 2.031 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001649/0.5768, allocations: 44.27 kB / 0.6599 GB, free: 1.984 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.38e-05/0.5768, allocations: 22.62 kB / 0.6599 GB, free: 1.965 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.5769, allocations: 0 / 0.6599 GB, free: 1.965 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.5769, allocations: 38.52 kB / 0.66 GB, free: 1.918 MB / 458.7 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.5769, allocations: 0 / 0.66 GB, free: 1.918 MB / 458.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001472/0.5771, allocations: 44.67 kB / 0.66 GB, free: 1.871 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.5771, allocations: 51.41 kB / 0.6601 GB, free: 1.809 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.704e-05/0.5772, allocations: 99.73 kB / 0.6602 GB, free: 1.707 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.5772, allocations: 25.7 kB / 0.6602 GB, free: 1.676 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.943e-05/0.5772, allocations: 84.05 kB / 0.6603 GB, free: 1.59 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.097e-05/0.5773, allocations: 18.88 kB / 0.6603 GB, free: 1.574 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-06/0.5773, allocations: 0 / 0.6603 GB, free: 1.574 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.273e-05/0.5774, allocations: 318.8 kB / 0.6606 GB, free: 1.254 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.865e-05/0.5774, allocations: 10.62 kB / 0.6606 GB, free: 1.246 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.565e-05/0.5774, allocations: 21.03 kB / 0.6606 GB, free: 1.223 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.005e-05/0.5774, allocations: 4 kB / 0.6606 GB, free: 1.219 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.5774, allocations: 0 / 0.6606 GB, free: 1.219 MB / 458.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.189e-05/0.5775, allocations: 52.75 kB / 0.6607 GB, free: 1.168 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.5776, allocations: 8.031 kB / 0.6607 GB, free: 1.16 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.5776, allocations: 0 / 0.6607 GB, free: 1.16 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.5776, allocations: 11.94 kB / 0.6607 GB, free: 1.148 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.702e-05/0.5776, allocations: 7.938 kB / 0.6607 GB, free: 1.141 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.5777, allocations: 4 kB / 0.6607 GB, free: 1.137 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.314e-05/0.5777, allocations: 0 / 0.6607 GB, free: 1.137 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.5777, allocations: 0.7031 kB / 0.6607 GB, free: 1.137 MB / 458.7 MB 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 () * 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.098e-05/0.5778, allocations: 105 kB / 0.6608 GB, free: 1.027 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.389e-05/0.5778, allocations: 44.25 kB / 0.6609 GB, free: 0.9805 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.358e-05/0.5779, allocations: 15.86 kB / 0.6609 GB, free: 0.9648 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.578, allocations: 60.05 kB / 0.6609 GB, free: 0.9062 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.578, allocations: 3.984 kB / 0.6609 GB, free: 0.9023 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.578, allocations: 0 / 0.6609 GB, free: 0.9023 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.578, allocations: 0 / 0.6609 GB, free: 0.9023 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.5781, allocations: 136.9 kB / 0.6611 GB, free: 0.7344 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.5782, allocations: 0 / 0.6611 GB, free: 0.7344 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.418e-05/0.5782, allocations: 7.984 kB / 0.6611 GB, free: 0.7266 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.5782, allocations: 0 / 0.6611 GB, free: 0.7266 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.5782, allocations: 7.938 kB / 0.6611 GB, free: 0.7188 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.5782, allocations: 8.078 kB / 0.6611 GB, free: 0.7109 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.5782, allocations: 4 kB / 0.6611 GB, free: 0.707 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.821e-05/0.5783, allocations: 137.2 kB / 0.6612 GB, free: 0.5625 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.393e-05/0.5784, allocations: 85.02 kB / 0.6613 GB, free: 472 kB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.5784, allocations: 0 / 0.6613 GB, free: 472 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.611e-05/0.5785, allocations: 3.938 kB / 0.6613 GB, free: 468 kB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.401e-05/0.5785, allocations: 7.938 kB / 0.6613 GB, free: 460 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.862e-06/0.5785, allocations: 11.12 kB / 0.6613 GB, free: 452 kB / 458.7 MB Notification: Performance of sorting global known variables: time 2.935e-05/0.5785, allocations: 75.66 kB / 0.6614 GB, free: 376 kB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5785, allocations: 0 / 0.6614 GB, free: 376 kB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002344/0.5788, allocations: 23.94 kB / 0.6614 GB, free: 352 kB / 458.7 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 () * 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.0004017/0.5792, allocations: 0.7055 MB / 0.6621 GB, free: 15.62 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 7.311e-05/0.5793, allocations: 23.12 kB / 0.6621 GB, free: 15.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.5793, allocations: 0 / 0.6621 GB, free: 15.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.611e-05/0.5793, allocations: 10.94 kB / 0.6621 GB, free: 15.59 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001209/0.5794, allocations: 3.953 kB / 0.6621 GB, free: 15.59 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003065/0.5797, allocations: 108.9 kB / 0.6622 GB, free: 15.45 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00019/0.5799, allocations: 0.6807 MB / 0.6629 GB, free: 14.74 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 3.351e-05/0.58, allocations: 4.062 kB / 0.6629 GB, free: 14.73 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.472e-05/0.58, allocations: 11.44 kB / 0.6629 GB, free: 14.72 MB / 474.7 MB Notification: Performance of SimCode: time 3.1e-07/0.58, allocations: 0 / 0.6629 GB, free: 14.72 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01895/0.599, allocations: 0.8734 MB / 0.6638 GB, free: 13.86 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001902/0.5992, allocations: 158.4 kB / 0.6639 GB, free: 13.67 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.347/1.947, allocations: 1.5 kB / 0.6639 GB, free: 13.67 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)