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.7285/0.7285, allocations: 127.3 MB / 139.8 MB, free: 15.45 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.001077/0.001077, allocations: 184.8 kB / 169.7 MB, free: 1.738 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.609/1.609, allocations: 205.1 MB / 404.5 MB, free: 1.562 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.0009143/0.0009143, allocations: 85.56 kB / 481.8 MB, free: 4.219 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.711e-05/3.728e-05, allocations: 4 kB / 0.5533 GB, free: 54.72 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1493, allocations: 76.77 MB / 0.6283 GB, free: 9.898 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4984/0.6477, allocations: 104.3 MB / 0.7301 GB, free: 9.121 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002381/0.648, allocations: 84.5 kB / 0.7302 GB, free: 9.07 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01682/0.6649, allocations: 5.717 MB / 0.7358 GB, free: 4.246 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.6649, allocations: 7.938 kB / 0.7358 GB, free: 4.238 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.665, allocations: 0 / 0.7358 GB, free: 4.238 MB / 490.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.0003603/0.6653, allocations: 357.9 kB / 0.7361 GB, free: 3.848 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.6654, allocations: 12.03 kB / 0.7361 GB, free: 3.836 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.511e-05/0.6654, allocations: 34.12 kB / 0.7362 GB, free: 3.797 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.203e-05/0.6654, allocations: 0 / 0.7362 GB, free: 3.797 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.6656, allocations: 167 kB / 0.7363 GB, free: 3.594 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.6656, allocations: 4 kB / 0.7363 GB, free: 3.59 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.6656, allocations: 0 / 0.7363 GB, free: 3.59 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008824/0.6665, allocations: 148.5 kB / 0.7365 GB, free: 3.445 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.6665, allocations: 3.984 kB / 0.7365 GB, free: 3.441 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.6665, allocations: 3.953 kB / 0.7365 GB, free: 3.438 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.6665, allocations: 4 kB / 0.7365 GB, free: 3.434 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007501/0.6673, allocations: 114.9 kB / 0.7366 GB, free: 3.328 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003208/0.6676, allocations: 256 kB / 0.7368 GB, free: 3.039 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009076/0.6686, allocations: 145.4 kB / 0.737 GB, free: 2.895 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.692e-05/0.6686, allocations: 19.36 kB / 0.737 GB, free: 2.879 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003819/0.669, allocations: 198.2 kB / 0.7372 GB, free: 2.648 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.669, allocations: 30.56 kB / 0.7372 GB, free: 2.609 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.613e-06/0.669, allocations: 0 / 0.7372 GB, free: 2.609 MB / 490.7 MB Notification: Performance of matching and sorting (n=4): time 0.001568/0.6706, allocations: 263.8 kB / 0.7375 GB, free: 2.355 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.6707, allocations: 51.41 kB / 0.7375 GB, free: 2.293 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.933e-05/0.6707, allocations: 89 kB / 0.7376 GB, free: 2.199 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.6708, allocations: 25.7 kB / 0.7376 GB, free: 2.168 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.228e-05/0.6708, allocations: 83.64 kB / 0.7377 GB, free: 2.086 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.6709, allocations: 19.73 kB / 0.7377 GB, free: 2.066 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.69e-06/0.6709, allocations: 4 kB / 0.7377 GB, free: 2.062 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.871e-05/0.671, allocations: 314.3 kB / 0.738 GB, free: 1.75 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.532e-05/0.671, allocations: 11.19 kB / 0.738 GB, free: 1.742 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.755e-05/0.6711, allocations: 28.97 kB / 0.7381 GB, free: 1.711 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.112e-05/0.6711, allocations: 11.36 kB / 0.7381 GB, free: 1.703 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.6711, allocations: 4 kB / 0.7381 GB, free: 1.699 MB / 490.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001362/0.6713, allocations: 67.8 kB / 0.7381 GB, free: 1.637 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.6713, allocations: 11.98 kB / 0.7381 GB, free: 1.625 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.6713, allocations: 128 / 0.7381 GB, free: 1.625 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.6713, allocations: 0 / 0.7381 GB, free: 1.625 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001967/0.6715, allocations: 31.91 kB / 0.7382 GB, free: 1.594 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.6715, allocations: 4 kB / 0.7382 GB, free: 1.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/0.6717, allocations: 23.83 kB / 0.7382 GB, free: 1.566 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.6717, allocations: 4 kB / 0.7382 GB, free: 1.562 MB / 490.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.732e-05/0.6718, allocations: 107.5 kB / 0.7383 GB, free: 1.453 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/0.6718, allocations: 4 kB / 0.7383 GB, free: 1.449 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.744e-05/0.6719, allocations: 11.33 kB / 0.7383 GB, free: 1.441 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.6719, allocations: 0 / 0.7383 GB, free: 1.441 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.6719, allocations: 0 / 0.7383 GB, free: 1.441 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.6719, allocations: 0 / 0.7383 GB, free: 1.441 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/0.6721, allocations: 161.8 kB / 0.7385 GB, free: 1.238 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.6721, allocations: 4 kB / 0.7385 GB, free: 1.234 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/0.6723, allocations: 23.97 kB / 0.7385 GB, free: 1.211 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.6723, allocations: 0 / 0.7385 GB, free: 1.211 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.6723, allocations: 7.062 kB / 0.7385 GB, free: 1.207 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.6723, allocations: 3.953 kB / 0.7385 GB, free: 1.203 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/0.6723, allocations: 3.984 kB / 0.7385 GB, free: 1.199 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001699/0.6725, allocations: 162.9 kB / 0.7387 GB, free: 1.035 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.414e-05/0.6725, allocations: 81.02 kB / 0.7388 GB, free: 0.9375 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.6726, allocations: 4 kB / 0.7388 GB, free: 0.9336 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.6727, allocations: 11.98 kB / 0.7388 GB, free: 0.9219 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.698e-05/0.6728, allocations: 11.94 kB / 0.7388 GB, free: 0.9102 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.6728, allocations: 0 / 0.7388 GB, free: 0.9102 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.728e-05/0.6728, allocations: 87.22 kB / 0.7389 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6728, allocations: 0 / 0.7389 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002364/0.6731, allocations: 11.06 kB / 0.7389 GB, free: 0.8164 MB / 490.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.0004517/0.6735, allocations: 0.6956 MB / 0.7396 GB, free: 108 kB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001231/0.6737, allocations: 35.73 kB / 0.7396 GB, free: 80 kB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.6737, allocations: 4.062 kB / 0.7396 GB, free: 76 kB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.052e-05/0.6737, allocations: 26.05 kB / 0.7396 GB, free: 56 kB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001409/0.6739, allocations: 3.953 kB / 0.7396 GB, free: 52 kB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004914/0.6744, allocations: 118.1 kB / 0.7397 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/0.6746, allocations: 0.6848 MB / 0.7404 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.572e-05/0.6747, allocations: 4 kB / 0.7404 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.482e-05/0.6748, allocations: 20.05 kB / 0.7404 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of SimCode: time 3e-07/0.6748, allocations: 0 / 0.7404 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01225/0.687, allocations: 1.218 MB / 0.7416 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002071/0.6873, allocations: 183.7 kB / 0.7418 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.393/2.08, allocations: 0 / 0.7418 GB, free: 13.89 MB / 0.4948 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)