Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.InverseFlowFunctions,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",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.8955/0.8955, allocations: 141.8 MB / 149.3 MB, free: 9.211 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.001128/0.001128, allocations: 180.9 kB / 182.2 MB, free: 9.449 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.48/1.48, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.001097/0.001097, allocations: 92.03 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001756/0.001756, allocations: 274.9 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.262e-05/2.265e-05, allocations: 7.984 kB / 0.6766 GB, free: 12.71 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4755/0.4755, allocations: 82.77 MB / 0.7575 GB, free: 31.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1492/0.6248, allocations: 109.7 MB / 0.8646 GB, free: 2.09 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/0.6251, allocations: 79.94 kB / 0.8646 GB, free: 2.012 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01593/0.641, allocations: 5.384 MB / 0.8699 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.212e-06/0.6411, allocations: 0 / 0.8699 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.6411, allocations: 0 / 0.8699 GB, free: 12.62 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003661/0.6414, allocations: 358.4 kB / 0.8702 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.6415, allocations: 12.03 kB / 0.8702 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.011e-05/0.6415, allocations: 4 kB / 0.8702 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.6417, allocations: 163 kB / 0.8704 GB, free: 12.01 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.6417, allocations: 0 / 0.8704 GB, free: 12.01 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.187e-06/0.6417, allocations: 4 kB / 0.8704 GB, free: 12.01 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.065e-05/0.6418, allocations: 19.92 kB / 0.8704 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.021e-05/0.6419, allocations: 33.7 kB / 0.8705 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.475e-06/0.6419, allocations: 0 / 0.8705 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.6419, allocations: 0 / 0.8705 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.6419, allocations: 4 kB / 0.8705 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002961/0.6422, allocations: 233.4 kB / 0.8707 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001782/0.6424, allocations: 42.62 kB / 0.8707 GB, free: 11.63 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.219e-05/0.6424, allocations: 16.86 kB / 0.8707 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.6425, allocations: 3.938 kB / 0.8707 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.6425, allocations: 42.5 kB / 0.8708 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.6425, allocations: 0 / 0.8708 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.0001378/0.6426, allocations: 41.78 kB / 0.8708 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.6427, allocations: 55.41 kB / 0.8709 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.952e-05/0.6428, allocations: 92.94 kB / 0.871 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.6428, allocations: 25.7 kB / 0.871 GB, free: 11.31 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.6428, allocations: 88.12 kB / 0.8711 GB, free: 11.22 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.031e-05/0.6428, allocations: 11.81 kB / 0.8711 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-06/0.6429, allocations: 0 / 0.8711 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.643, allocations: 322.8 kB / 0.8714 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.287e-05/0.643, allocations: 0 / 0.8714 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.481e-05/0.643, allocations: 21.72 kB / 0.8714 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.272e-05/0.643, allocations: 11.98 kB / 0.8714 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.6431, allocations: 0 / 0.8714 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.78e-05/0.6431, allocations: 53.91 kB / 0.8715 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.6432, allocations: 11.94 kB / 0.8715 GB, free: 10.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.6432, allocations: 32 / 0.8715 GB, free: 10.78 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.6432, allocations: 4 kB / 0.8715 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.902e-05/0.6432, allocations: 8 kB / 0.8715 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.6433, allocations: 0 / 0.8715 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.28e-05/0.6433, allocations: 3.906 kB / 0.8715 GB, free: 10.76 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.6433, allocations: 7.984 kB / 0.8715 GB, free: 10.75 MB / 0.5417 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 6.843e-05/0.6434, allocations: 112.9 kB / 0.8716 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.345e-05/0.6434, allocations: 45.83 kB / 0.8717 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.981e-05/0.6435, allocations: 4 kB / 0.8717 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001292/0.6436, allocations: 57.8 kB / 0.8717 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.6436, allocations: 0 / 0.8717 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.6436, allocations: 4 kB / 0.8717 GB, free: 10.51 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.6436, allocations: 0 / 0.8717 GB, free: 10.51 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.6438, allocations: 150 kB / 0.8719 GB, free: 10.33 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.6438, allocations: 0 / 0.8719 GB, free: 10.33 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.407e-05/0.6438, allocations: 7.938 kB / 0.8719 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.6438, allocations: 0 / 0.8719 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.6439, allocations: 4 kB / 0.8719 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.6439, allocations: 0 / 0.8719 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.6439, allocations: 7.938 kB / 0.8719 GB, free: 10.31 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001559/0.644, allocations: 147.5 kB / 0.872 GB, free: 10.15 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.169e-05/0.6441, allocations: 81.09 kB / 0.8721 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.6441, allocations: 0 / 0.8721 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.896e-05/0.6442, allocations: 0 / 0.8721 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.069e-05/0.6442, allocations: 4 kB / 0.8721 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.6442, allocations: 0 / 0.8721 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.666e-05/0.6443, allocations: 75.28 kB / 0.8722 GB, free: 9.973 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6443, allocations: 4 kB / 0.8722 GB, free: 9.969 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002444/0.6445, allocations: 23.98 kB / 0.8722 GB, free: 9.945 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 (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.0004682/0.645, allocations: 0.7006 MB / 0.8729 GB, free: 9.219 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 7.923e-05/0.6451, allocations: 20 kB / 0.8729 GB, free: 9.199 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.6451, allocations: 8 kB / 0.8729 GB, free: 9.191 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.837e-05/0.6451, allocations: 19.92 kB / 0.8729 GB, free: 9.172 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001406/0.6453, allocations: 0 / 0.8729 GB, free: 9.172 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00033/0.6456, allocations: 101.5 kB / 0.873 GB, free: 9.035 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002252/0.6458, allocations: 0.6768 MB / 0.8737 GB, free: 8.332 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.511e-05/0.6459, allocations: 8 kB / 0.8737 GB, free: 8.324 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.897e-05/0.6459, allocations: 19.44 kB / 0.8737 GB, free: 8.305 MB / 0.5417 GB Notification: Performance of SimCode: time 2.3e-07/0.6459, allocations: 0 / 0.8737 GB, free: 8.305 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01807/0.664, allocations: 0.8927 MB / 0.8746 GB, free: 7.422 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000202/0.6643, allocations: 176.2 kB / 0.8748 GB, free: 7.227 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.594/2.258, allocations: 0.7812 kB / 0.8748 GB, free: 7.227 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)