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.9041/0.9041, allocations: 143.4 MB / 158.3 MB, free: 5.781 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 177 kB / 191.5 MB, free: 5.746 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.5/1.5, allocations: 223.2 MB / 447.7 MB, free: 4.816 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.000965/0.0009645, allocations: 96.3 kB / 0.5187 GB, free: 1.184 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002081/0.002081, allocations: 284.5 kB / 0.6005 GB, free: 48.72 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004688/0.0004689, allocations: 11.12 kB / 0.6929 GB, free: 59.56 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1792, allocations: 82.8 MB / 0.7738 GB, free: 13.71 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1603/0.3395, allocations: 109.2 MB / 0.8804 GB, free: 376 kB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/0.3398, allocations: 79.95 kB / 0.8805 GB, free: 296 kB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.3835/0.7233, allocations: 3.488 MB / 0.8839 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.394e-06/0.7233, allocations: 0 / 0.8839 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.7234, allocations: 0 / 0.8839 GB, free: 109.2 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.0002969/0.7237, allocations: 338.5 kB / 0.8842 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.7237, allocations: 10.78 kB / 0.8843 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.542e-05/0.7237, allocations: 34.5 kB / 0.8843 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.304e-05/0.7238, allocations: 4 kB / 0.8843 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.286e-05/0.7239, allocations: 168.9 kB / 0.8845 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.7239, allocations: 3.938 kB / 0.8845 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.275e-06/0.7239, allocations: 0 / 0.8845 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.594e-05/0.724, allocations: 34.75 kB / 0.8845 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.102e-06/0.724, allocations: 0 / 0.8845 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.724, allocations: 3.938 kB / 0.8845 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.724, allocations: 0 / 0.8845 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.878e-05/0.7241, allocations: 6.938 kB / 0.8845 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001246/0.7242, allocations: 156.1 kB / 0.8846 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 4.802e-05/0.7242, allocations: 36.64 kB / 0.8847 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.7243, allocations: 0 / 0.8847 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.546e-05/0.7243, allocations: 30.56 kB / 0.8847 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.7243, allocations: 0 / 0.8847 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0001252/0.7244, allocations: 40.73 kB / 0.8847 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.384e-05/0.7245, allocations: 62.75 kB / 0.8848 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.241e-05/0.7245, allocations: 87.47 kB / 0.8849 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 8.456e-06/0.7245, allocations: 25.7 kB / 0.8849 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 1.826e-05/0.7246, allocations: 80.14 kB / 0.885 GB, free: 108 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.347e-05/0.7246, allocations: 10.34 kB / 0.885 GB, free: 108 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-06/0.7246, allocations: 0 / 0.885 GB, free: 108 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 4.831e-05/0.7246, allocations: 314.4 kB / 0.8853 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.282e-05/0.7247, allocations: 6.094 kB / 0.8853 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.913e-06/0.7247, allocations: 10.69 kB / 0.8853 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.494e-05/0.7247, allocations: 2.844 kB / 0.8853 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.7247, allocations: 0 / 0.8853 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.386e-05/0.7248, allocations: 45.66 kB / 0.8854 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.7248, allocations: 6.094 kB / 0.8854 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.7248, allocations: 0 / 0.8854 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.7248, allocations: 3.047 kB / 0.8854 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.725, allocations: 8.281 kB / 0.8854 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002396/0.7252, allocations: 0.5885 MB / 0.886 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.084e-05/0.7253, allocations: 4.312 kB / 0.886 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.7253, allocations: 0 / 0.886 GB, free: 107.1 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 () * Number of clocked 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.43e-05/0.7253, allocations: 113.7 kB / 0.8861 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.142e-06/0.7253, allocations: 0 / 0.8861 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001037/0.7254, allocations: 51.8 kB / 0.8861 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.7255, allocations: 0 / 0.8861 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.7255, allocations: 0 / 0.8861 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.7255, allocations: 0 / 0.8861 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.252e-05/0.7256, allocations: 159.2 kB / 0.8863 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.7256, allocations: 3.047 kB / 0.8863 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.679e-05/0.7256, allocations: 5.594 kB / 0.8863 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.7257, allocations: 7.094 kB / 0.8863 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.523e-06/0.7257, allocations: 0 / 0.8863 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002006/0.7259, allocations: 0.5834 MB / 0.8869 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.7259, allocations: 0 / 0.8869 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.401e-05/0.726, allocations: 80.52 kB / 0.8869 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.268e-05/0.726, allocations: 77.11 kB / 0.887 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.726, allocations: 2.5 kB / 0.887 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.352e-05/0.726, allocations: 0 / 0.887 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.046e-05/0.7261, allocations: 4.125 kB / 0.887 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.7261, allocations: 2.531 kB / 0.887 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.043e-05/0.7261, allocations: 78.52 kB / 0.8871 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1e-07/0.7261, allocations: 0 / 0.8871 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002209/0.7263, allocations: 20.86 kB / 0.8871 GB, free: 105.9 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 () * Number of clocked 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.0003589/0.7267, allocations: 0.6191 MB / 0.8877 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001535/0.7268, allocations: 21.81 kB / 0.8877 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.7269, allocations: 0 / 0.8877 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 6.795e-05/0.7269, allocations: 11.28 kB / 0.8877 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001106/0.7271, allocations: 3.562 kB / 0.8877 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004484/0.7275, allocations: 142.9 kB / 0.8879 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001584/0.7277, allocations: 0.6779 MB / 0.8885 GB, free: 104.4 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.57e-05/0.7277, allocations: 0 / 0.8885 GB, free: 104.4 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.49e-05/0.7277, allocations: 7.438 kB / 0.8886 GB, free: 104.4 MB / 0.5417 GB Notification: Performance of SimCode: time 2.4e-07/0.7277, allocations: 3.938 kB / 0.8886 GB, free: 104.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01384/0.7416, allocations: 1.157 MB / 0.8897 GB, free: 104.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000188/0.7418, allocations: 256.5 kB / 0.8899 GB, free: 103.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.569/2.31, allocations: 0 / 0.8899 GB, free: 103.9 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)