Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 183.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5713/0.5713, allocations: 91.98 MB / 108.5 MB, free: 13.07 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.641/1.641, allocations: 223.2 MB / 354.3 MB, free: 10.47 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009546/0.0009541, allocations: 103.2 kB / 427.4 MB, free: 2.18 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003607/0.0003606, allocations: 12 kB / 0.4983 GB, free: 41.98 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1578, allocations: 72.31 MB / 0.5689 GB, free: 1.609 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4793/0.6371, allocations: 102 MB / 0.6685 GB, free: 2.363 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/0.6375, allocations: 81.3 kB / 0.6686 GB, free: 2.285 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00694/0.6444, allocations: 2.307 MB / 0.6708 GB, free: 15.99 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.6445, allocations: 4 kB / 0.6709 GB, free: 15.99 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.6445, allocations: 4 kB / 0.6709 GB, free: 15.98 MB / 474.7 MB 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.0003417/0.6448, allocations: 347.8 kB / 0.6712 GB, free: 15.6 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.6449, allocations: 8.031 kB / 0.6712 GB, free: 15.59 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.929e-05/0.6449, allocations: 34.52 kB / 0.6712 GB, free: 15.55 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.076e-05/0.6449, allocations: 1.188 kB / 0.6712 GB, free: 15.55 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.6451, allocations: 171 kB / 0.6714 GB, free: 15.34 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.906e-06/0.6451, allocations: 3.938 kB / 0.6714 GB, free: 15.34 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.877e-06/0.6451, allocations: 0 / 0.6714 GB, free: 15.34 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.835e-05/0.6452, allocations: 37.69 kB / 0.6714 GB, free: 15.29 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.6452, allocations: 0 / 0.6714 GB, free: 15.29 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.6452, allocations: 4 kB / 0.6714 GB, free: 15.29 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.6453, allocations: 3.953 kB / 0.6714 GB, free: 15.29 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.298e-05/0.6453, allocations: 4 kB / 0.6714 GB, free: 15.28 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001645/0.6455, allocations: 153.6 kB / 0.6716 GB, free: 15.08 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.138e-05/0.6455, allocations: 26.52 kB / 0.6716 GB, free: 15.05 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.6456, allocations: 4 kB / 0.6716 GB, free: 15.04 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.6456, allocations: 30.56 kB / 0.6716 GB, free: 15 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 1.233e-06/0.6456, allocations: 0 / 0.6716 GB, free: 15 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001389/0.6458, allocations: 45.7 kB / 0.6717 GB, free: 14.95 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/0.6458, allocations: 55.39 kB / 0.6717 GB, free: 14.89 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.362e-05/0.6459, allocations: 88.95 kB / 0.6718 GB, free: 14.79 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.6459, allocations: 29.95 kB / 0.6719 GB, free: 14.76 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.896e-05/0.646, allocations: 84.14 kB / 0.6719 GB, free: 14.67 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/0.646, allocations: 7.906 kB / 0.6719 GB, free: 14.66 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-06/0.646, allocations: 0 / 0.6719 GB, free: 14.66 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.6461, allocations: 310.8 kB / 0.6722 GB, free: 14.35 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.224e-05/0.6462, allocations: 4 kB / 0.6722 GB, free: 14.35 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.382e-06/0.6462, allocations: 0 / 0.6722 GB, free: 14.35 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.136e-05/0.6462, allocations: 7.984 kB / 0.6723 GB, free: 14.34 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.6462, allocations: 0 / 0.6723 GB, free: 14.34 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.13e-05/0.6463, allocations: 41.77 kB / 0.6723 GB, free: 14.29 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.6463, allocations: 4 kB / 0.6723 GB, free: 14.29 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.6463, allocations: 3.938 kB / 0.6723 GB, free: 14.29 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.6463, allocations: 4 kB / 0.6723 GB, free: 14.29 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.6465, allocations: 11.92 kB / 0.6723 GB, free: 14.27 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004143/0.6469, allocations: 0.5865 MB / 0.6729 GB, free: 13.66 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.038e-05/0.647, allocations: 0 / 0.6729 GB, free: 13.66 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.647, allocations: 4.125 kB / 0.6729 GB, free: 13.66 MB / 474.7 MB 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 7.92e-05/0.6471, allocations: 109.8 kB / 0.673 GB, free: 13.54 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.117e-05/0.6471, allocations: 7.938 kB / 0.673 GB, free: 13.54 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.6472, allocations: 52.73 kB / 0.6731 GB, free: 13.48 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.639e-05/0.6472, allocations: 7.938 kB / 0.6731 GB, free: 13.47 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.6472, allocations: 3.938 kB / 0.6731 GB, free: 13.47 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.6472, allocations: 0 / 0.6731 GB, free: 13.47 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.6474, allocations: 149.7 kB / 0.6732 GB, free: 13.27 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.6474, allocations: 4.031 kB / 0.6732 GB, free: 13.27 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.949e-05/0.6475, allocations: 11.98 kB / 0.6732 GB, free: 13.26 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.6475, allocations: 0 / 0.6732 GB, free: 13.26 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.6475, allocations: 0 / 0.6732 GB, free: 13.26 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003648/0.6478, allocations: 0.586 MB / 0.6738 GB, free: 12.65 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.6479, allocations: 0 / 0.6738 GB, free: 12.65 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.809e-05/0.6479, allocations: 73.19 kB / 0.6739 GB, free: 12.56 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.64e-05/0.648, allocations: 81.06 kB / 0.6739 GB, free: 12.46 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.648, allocations: 0 / 0.6739 GB, free: 12.46 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.467e-05/0.648, allocations: 0 / 0.6739 GB, free: 12.46 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.734e-05/0.6481, allocations: 0 / 0.6739 GB, free: 12.46 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-06/0.6481, allocations: 7.938 kB / 0.674 GB, free: 12.45 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.3e-05/0.6481, allocations: 75.28 kB / 0.674 GB, free: 12.38 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6481, allocations: 128 / 0.674 GB, free: 12.38 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0001994/0.6483, allocations: 12 kB / 0.674 GB, free: 12.37 MB / 474.7 MB 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.0004222/0.6487, allocations: 0.6239 MB / 0.6746 GB, free: 11.71 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001459/0.6489, allocations: 15.98 kB / 0.6747 GB, free: 11.7 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.6489, allocations: 4.094 kB / 0.6747 GB, free: 11.7 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 7.379e-05/0.649, allocations: 12 kB / 0.6747 GB, free: 11.68 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001134/0.6491, allocations: 3.984 kB / 0.6747 GB, free: 11.68 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004627/0.6496, allocations: 141.3 kB / 0.6748 GB, free: 11.5 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.6499, allocations: 0.6809 MB / 0.6755 GB, free: 10.79 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 1.997e-05/0.6499, allocations: 8.062 kB / 0.6755 GB, free: 10.78 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.107e-05/0.6499, allocations: 7.438 kB / 0.6755 GB, free: 10.77 MB / 474.7 MB Notification: Performance of SimCode: time 3.537e-06/0.6499, allocations: 0 / 0.6755 GB, free: 10.77 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0128/0.6627, allocations: 1.13 MB / 0.6766 GB, free: 9.871 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002029/0.663, allocations: 240.2 kB / 0.6768 GB, free: 9.633 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.535/2.198, allocations: 0 / 0.6768 GB, free: 9.633 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)