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.7173/0.7173, allocations: 127.4 MB / 134.9 MB, free: 3.449 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.001119/0.001119, allocations: 181.1 kB / 164.7 MB, free: 11.62 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.468/1.468, allocations: 205.2 MB / 399.5 MB, free: 13.59 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.0009358/0.000936, allocations: 89.52 kB / 476.7 MB, free: 1.543 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.163e-05/2.183e-05, allocations: 2.594 kB / 0.5467 GB, free: 95.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1571, allocations: 76.77 MB / 0.6216 GB, free: 43.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1356/0.2927, allocations: 103.6 MB / 0.7228 GB, free: 3.277 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/0.293, allocations: 79.95 kB / 0.7229 GB, free: 3.199 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01677/0.3098, allocations: 5.683 MB / 0.7285 GB, free: 13.51 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.843e-06/0.3098, allocations: 0 / 0.7285 GB, free: 13.51 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.144e-05/0.3099, allocations: 0 / 0.7285 GB, free: 13.51 MB / 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.0003876/0.3102, allocations: 366.3 kB / 0.7288 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.3103, allocations: 12.02 kB / 0.7288 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.714e-05/0.3103, allocations: 0 / 0.7288 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.3105, allocations: 163.1 kB / 0.729 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.3105, allocations: 8 kB / 0.729 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.969e-05/0.3106, allocations: 3.938 kB / 0.729 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.917e-05/0.3107, allocations: 19.98 kB / 0.729 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.456e-05/0.3107, allocations: 33.64 kB / 0.729 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.3108, allocations: 3.953 kB / 0.729 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.3108, allocations: 0 / 0.729 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/0.3108, allocations: 0 / 0.729 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003554/0.3111, allocations: 233.5 kB / 0.7293 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/0.3114, allocations: 46.62 kB / 0.7293 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.944e-05/0.3114, allocations: 16.86 kB / 0.7293 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000372/0.3118, allocations: 186.3 kB / 0.7295 GB, free: 12.26 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.3118, allocations: 38.56 kB / 0.7295 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3118, allocations: 0 / 0.7295 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4): time 0.0009449/0.3128, allocations: 157.4 kB / 0.7297 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.3129, allocations: 51.41 kB / 0.7297 GB, free: 11.99 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.518e-05/0.313, allocations: 92.98 kB / 0.7298 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.313, allocations: 25.7 kB / 0.7299 GB, free: 11.86 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.18e-05/0.3131, allocations: 88.14 kB / 0.7299 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.96e-05/0.3131, allocations: 15.75 kB / 0.73 GB, free: 11.76 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.043e-06/0.3131, allocations: 0 / 0.73 GB, free: 11.76 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.3132, allocations: 310.8 kB / 0.7303 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.319e-05/0.3133, allocations: 15.98 kB / 0.7303 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.957e-05/0.3133, allocations: 21.72 kB / 0.7303 GB, free: 11.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.828e-05/0.3134, allocations: 15.98 kB / 0.7303 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.3134, allocations: 0 / 0.7303 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001246/0.3135, allocations: 65.62 kB / 0.7304 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.3135, allocations: 4.625 kB / 0.7304 GB, free: 11.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.3136, allocations: 4 kB / 0.7304 GB, free: 11.31 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.3136, allocations: 3.938 kB / 0.7304 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001889/0.3138, allocations: 27.92 kB / 0.7304 GB, free: 11.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/0.3138, allocations: 0 / 0.7304 GB, free: 11.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/0.3139, allocations: 23.92 kB / 0.7304 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.314, allocations: 0 / 0.7304 GB, free: 11.25 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 () * 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 8.186e-05/0.314, allocations: 113 kB / 0.7305 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001245/0.3142, allocations: 57.62 kB / 0.7306 GB, free: 11.07 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.164e-05/0.3142, allocations: 0 / 0.7306 GB, free: 11.07 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.094e-05/0.3142, allocations: 12.08 kB / 0.7306 GB, free: 11.06 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.3143, allocations: 3.938 kB / 0.7306 GB, free: 11.06 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3143, allocations: 4 kB / 0.7306 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3143, allocations: 0 / 0.7306 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/0.3144, allocations: 146.2 kB / 0.7307 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.3144, allocations: 0 / 0.7307 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001871/0.3146, allocations: 23.97 kB / 0.7308 GB, free: 10.85 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.3147, allocations: 0 / 0.7308 GB, free: 10.85 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.3147, allocations: 4 kB / 0.7308 GB, free: 10.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.3147, allocations: 0 / 0.7308 GB, free: 10.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.3147, allocations: 8.078 kB / 0.7308 GB, free: 10.84 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001714/0.3149, allocations: 171.4 kB / 0.7309 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.062e-05/0.3149, allocations: 77.11 kB / 0.731 GB, free: 10.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.3149, allocations: 0 / 0.731 GB, free: 10.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.3151, allocations: 15.98 kB / 0.731 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.702e-05/0.3152, allocations: 11.94 kB / 0.731 GB, free: 10.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.3152, allocations: 0 / 0.731 GB, free: 10.54 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.881e-05/0.3152, allocations: 79.66 kB / 0.7311 GB, free: 10.46 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3152, allocations: 0 / 0.7311 GB, free: 10.46 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002188/0.3154, allocations: 16 kB / 0.7311 GB, free: 10.44 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 (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.0004991/0.3159, allocations: 0.693 MB / 0.7318 GB, free: 9.719 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001254/0.3161, allocations: 35.92 kB / 0.7318 GB, free: 9.684 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3161, allocations: 0 / 0.7318 GB, free: 9.684 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.915e-05/0.3161, allocations: 16 kB / 0.7319 GB, free: 9.668 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001487/0.3163, allocations: 3.984 kB / 0.7319 GB, free: 9.664 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004626/0.3168, allocations: 121.6 kB / 0.732 GB, free: 9.508 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.3171, allocations: 0.6807 MB / 0.7326 GB, free: 8.801 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 9.661e-05/0.3172, allocations: 8 kB / 0.7327 GB, free: 8.793 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.287e-05/0.3172, allocations: 19.42 kB / 0.7327 GB, free: 8.773 MB / 0.5105 GB Notification: Performance of SimCode: time 2.395e-06/0.3172, allocations: 0 / 0.7327 GB, free: 8.773 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0191/0.3363, allocations: 0.8801 MB / 0.7335 GB, free: 7.895 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001832/0.3366, allocations: 170.8 kB / 0.7337 GB, free: 7.707 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.501/1.837, allocations: 4 kB / 0.7337 GB, free: 7.703 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)