Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.637/1.637, allocations: 289.9 MB / 297.4 MB, free: 6.367 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001301/0.001301, allocations: 176.9 kB / 366.7 MB, free: 1.66 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.659/1.659, allocations: 205.2 MB / 0.626 GB, free: 7.168 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001229/0.001229, allocations: 90.83 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.719e-05/4.722e-05, allocations: 4 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7115/0.7116, allocations: 116.3 MB / 0.9733 GB, free: 76.09 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1926/0.9042, allocations: 139.9 MB / 1.11 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/0.9045, allocations: 84.64 kB / 1.11 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01659/0.9211, allocations: 5.299 MB / 1.115 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9212, allocations: 0 / 1.115 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.9212, allocations: 1.125 kB / 1.115 GB, free: 4.859 MB / 0.7136 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.0004389/0.9216, allocations: 354.4 kB / 1.116 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/0.9217, allocations: 11.97 kB / 1.116 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.998e-05/0.9218, allocations: 8 kB / 1.116 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.9219, allocations: 170.9 kB / 1.116 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.9219, allocations: 0 / 1.116 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.922, allocations: 4 kB / 1.116 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.584e-05/0.922, allocations: 12 kB / 1.116 GB, free: 4.227 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.608e-05/0.9221, allocations: 37.69 kB / 1.116 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.9222, allocations: 0 / 1.116 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.9222, allocations: 2.688 kB / 1.116 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.9222, allocations: 4 kB / 1.116 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003825/0.9226, allocations: 226.8 kB / 1.116 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002022/0.9228, allocations: 46.64 kB / 1.116 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.456e-05/0.9229, allocations: 24.92 kB / 1.116 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/0.9229, allocations: 3.938 kB / 1.116 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.9229, allocations: 34.56 kB / 1.116 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.392e-06/0.9229, allocations: 0 / 1.116 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001744/0.9231, allocations: 45.69 kB / 1.116 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.9232, allocations: 55.41 kB / 1.116 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.085e-05/0.9233, allocations: 92.94 kB / 1.116 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.9233, allocations: 29.64 kB / 1.116 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.602e-05/0.9234, allocations: 88.05 kB / 1.116 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.054e-05/0.9234, allocations: 7.906 kB / 1.116 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-06/0.9234, allocations: 0 / 1.116 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.9235, allocations: 322.8 kB / 1.117 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.763e-05/0.9236, allocations: 7 kB / 1.117 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.846e-05/0.9236, allocations: 17.72 kB / 1.117 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.635e-05/0.9236, allocations: 12 kB / 1.117 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.9236, allocations: 0 / 1.117 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.53e-05/0.9237, allocations: 57.53 kB / 1.117 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.9238, allocations: 9.094 kB / 1.117 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.9238, allocations: 0 / 1.117 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.9238, allocations: 0 / 1.117 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.277e-05/0.9238, allocations: 11.98 kB / 1.117 GB, free: 3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.9239, allocations: 0 / 1.117 GB, free: 3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.3e-05/0.9239, allocations: 0 / 1.117 GB, free: 3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.9239, allocations: 4 kB / 1.117 GB, free: 2.996 MB / 0.7136 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 9.899e-05/0.924, allocations: 109 kB / 1.117 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.146e-05/0.9241, allocations: 47.95 kB / 1.117 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/0.9241, allocations: 4 kB / 1.117 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001418/0.9243, allocations: 57.66 kB / 1.117 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-06/0.9243, allocations: 0 / 1.117 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.9243, allocations: 4 kB / 1.117 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.679e-05/0.9243, allocations: 7.938 kB / 1.117 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.9245, allocations: 142.2 kB / 1.117 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.9245, allocations: 0 / 1.117 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.658e-05/0.9245, allocations: 10.05 kB / 1.117 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.9245, allocations: 0 / 1.117 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.9246, allocations: 4 kB / 1.117 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.9246, allocations: 0 / 1.117 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.9246, allocations: 3.938 kB / 1.117 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001458/0.9247, allocations: 151.8 kB / 1.117 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.221e-05/0.9248, allocations: 80.95 kB / 1.117 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.9248, allocations: 4 kB / 1.117 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.775e-05/0.9249, allocations: 0 / 1.117 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.3e-05/0.9249, allocations: 12.02 kB / 1.117 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.9249, allocations: 0 / 1.117 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.099e-05/0.925, allocations: 75.28 kB / 1.118 GB, free: 2.207 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.925, allocations: 0 / 1.118 GB, free: 2.207 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000279/0.9253, allocations: 20 kB / 1.118 GB, free: 2.188 MB / 0.7136 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.0005326/0.9258, allocations: 0.7087 MB / 1.118 GB, free: 1.453 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.955e-05/0.9259, allocations: 23.94 kB / 1.118 GB, free: 1.43 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.9259, allocations: 0 / 1.118 GB, free: 1.43 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.783e-05/0.9259, allocations: 12 kB / 1.118 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001486/0.9261, allocations: 0 / 1.118 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003679/0.9265, allocations: 105.5 kB / 1.118 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.9268, allocations: 0.6807 MB / 1.119 GB, free: 0.5703 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.625e-05/0.9268, allocations: 7.984 kB / 1.119 GB, free: 0.5625 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.963e-05/0.9269, allocations: 11.44 kB / 1.119 GB, free: 0.5508 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.9269, allocations: 0 / 1.119 GB, free: 0.5508 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02098/0.9478, allocations: 0.8709 MB / 1.12 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001952/0.9481, allocations: 159.1 kB / 1.12 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.582/2.53, allocations: 2.625 kB / 1.12 GB, free: 15.53 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)