Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7845/0.7845, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 181.6 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 221.3 MB / 441.4 MB, free: 4.59 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009614/0.0009612, allocations: 90.64 kB / 0.5124 GB, free: 24.18 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001772/0.001773, allocations: 283.6 kB / 0.594 GB, free: 7.953 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.138e-05/4.164e-05, allocations: 4 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.458/0.4581, allocations: 82.75 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1192/0.5774, allocations: 109.1 MB / 0.8709 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002533/0.5777, allocations: 84.84 kB / 0.871 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.009788/0.5875, allocations: 3.5 MB / 0.8744 GB, free: 11.83 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.223e-06/0.5875, allocations: 0 / 0.8744 GB, free: 11.83 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.205e-05/0.5875, allocations: 0 / 0.8744 GB, free: 11.83 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003036/0.5878, allocations: 334.4 kB / 0.8748 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.5879, allocations: 12.03 kB / 0.8748 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.346e-05/0.5879, allocations: 30.56 kB / 0.8748 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.932e-05/0.588, allocations: 4 kB / 0.8748 GB, free: 11.4 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.5881, allocations: 171 kB / 0.875 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.776e-06/0.5881, allocations: 4 kB / 0.875 GB, free: 11.19 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.5881, allocations: 4 kB / 0.875 GB, free: 11.19 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.608e-05/0.5882, allocations: 29.7 kB / 0.875 GB, free: 11.15 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.5882, allocations: 0 / 0.875 GB, free: 11.15 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.5882, allocations: 0 / 0.875 GB, free: 11.15 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.5883, allocations: 0 / 0.875 GB, free: 11.15 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.903e-05/0.5883, allocations: 8 kB / 0.875 GB, free: 11.14 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001508/0.5884, allocations: 157.6 kB / 0.8752 GB, free: 10.94 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 4.777e-05/0.5885, allocations: 34.55 kB / 0.8752 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.8e-05/0.5885, allocations: 4.859 kB / 0.8752 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.5886, allocations: 4.062 kB / 0.8752 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/0.5886, allocations: 30.56 kB / 0.8752 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.001e-06/0.5886, allocations: 0 / 0.8752 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0001363/0.5887, allocations: 37.7 kB / 0.8753 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.5888, allocations: 55.39 kB / 0.8753 GB, free: 10.74 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.189e-05/0.5888, allocations: 96.97 kB / 0.8754 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.5889, allocations: 25.7 kB / 0.8754 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.048e-05/0.5889, allocations: 80.14 kB / 0.8755 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.357e-05/0.5889, allocations: 3.906 kB / 0.8755 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-06/0.5889, allocations: 4 kB / 0.8755 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.95e-05/0.589, allocations: 310.8 kB / 0.8758 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.298e-05/0.589, allocations: 7.938 kB / 0.8758 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.622e-06/0.5891, allocations: 0 / 0.8758 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.629e-05/0.5891, allocations: 8.188 kB / 0.8758 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.5891, allocations: 0 / 0.8758 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.815e-05/0.5891, allocations: 45.64 kB / 0.8759 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.5892, allocations: 8 kB / 0.8759 GB, free: 10.13 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.5892, allocations: 0 / 0.8759 GB, free: 10.13 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.5892, allocations: 0 / 0.8759 GB, free: 10.13 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.5894, allocations: 11.98 kB / 0.8759 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003089/0.5897, allocations: 0.5898 MB / 0.8765 GB, free: 9.504 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.646e-05/0.5897, allocations: 3.938 kB / 0.8765 GB, free: 9.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.5897, allocations: 0 / 0.8765 GB, free: 9.5 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 5.794e-05/0.5898, allocations: 109 kB / 0.8766 GB, free: 9.387 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.462e-06/0.5898, allocations: 0 / 0.8766 GB, free: 9.387 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.622e-05/0.5899, allocations: 44.81 kB / 0.8766 GB, free: 9.34 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.5899, allocations: 0 / 0.8766 GB, free: 9.34 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.5899, allocations: 0 / 0.8766 GB, free: 9.34 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.5899, allocations: 4.125 kB / 0.8766 GB, free: 9.336 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.713e-05/0.59, allocations: 157.6 kB / 0.8768 GB, free: 9.133 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.59, allocations: 0 / 0.8768 GB, free: 9.133 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.642e-05/0.5901, allocations: 11.94 kB / 0.8768 GB, free: 9.121 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.5901, allocations: 0 / 0.8768 GB, free: 9.121 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-06/0.5901, allocations: 0 / 0.8768 GB, free: 9.121 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002555/0.5904, allocations: 0.586 MB / 0.8774 GB, free: 8.512 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5904, allocations: 96 / 0.8774 GB, free: 8.512 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.456e-05/0.5905, allocations: 65.12 kB / 0.8774 GB, free: 8.43 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.087e-05/0.5905, allocations: 84.95 kB / 0.8775 GB, free: 8.328 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.5905, allocations: 7.984 kB / 0.8775 GB, free: 8.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.409e-05/0.5905, allocations: 4 kB / 0.8775 GB, free: 8.316 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.514e-05/0.5906, allocations: 0 / 0.8775 GB, free: 8.316 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.5906, allocations: 3.938 kB / 0.8775 GB, free: 8.312 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.157e-05/0.5906, allocations: 87.27 kB / 0.8776 GB, free: 8.227 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5906, allocations: 0 / 0.8776 GB, free: 8.227 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002033/0.5908, allocations: 15.94 kB / 0.8776 GB, free: 8.211 MB / 0.5417 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003644/0.5912, allocations: 0.6125 MB / 0.8782 GB, free: 7.57 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001427/0.5913, allocations: 20.06 kB / 0.8782 GB, free: 7.551 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5914, allocations: 0 / 0.8782 GB, free: 7.551 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 7.555e-05/0.5914, allocations: 11.98 kB / 0.8783 GB, free: 7.539 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001021/0.5915, allocations: 5.016 kB / 0.8783 GB, free: 7.535 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002576/0.5918, allocations: 87.45 kB / 0.8783 GB, free: 7.414 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000202/0.592, allocations: 0.677 MB / 0.879 GB, free: 6.711 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.621e-05/0.592, allocations: 4.125 kB / 0.879 GB, free: 6.707 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.118e-05/0.5921, allocations: 7.438 kB / 0.879 GB, free: 6.699 MB / 0.5417 GB Notification: Performance of SimCode: time 2.405e-06/0.5921, allocations: 0 / 0.879 GB, free: 6.699 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01279/0.6049, allocations: 1.154 MB / 0.8801 GB, free: 5.805 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002432/0.6052, allocations: 230 kB / 0.8804 GB, free: 5.578 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.528/2.133, allocations: 0 / 0.8804 GB, free: 5.578 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)