Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002012/0.002012, allocations: 116.6 kB / 17.12 MB, free: 5.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002278/0.002278, allocations: 192.6 kB / 20.08 MB, free: 3 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.572/1.572, allocations: 225.6 MB / 248.5 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8758/0.8758, allocations: 129.2 MB / 432.5 MB, free: 13.46 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002164/0.002164, allocations: 67.91 kB / 0.5987 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4219/0.424, allocations: 83.43 MB / 0.6802 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002004/0.426, allocations: 1.268 MB / 0.6814 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008103/0.4268, allocations: 0.5844 MB / 0.682 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.369e-05/0.4269, allocations: 4 kB / 0.682 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.993e-05/0.4269, allocations: 0 / 0.682 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.812e-05/0.4269, allocations: 5.219 kB / 0.682 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004689/0.4274, allocations: 138.1 kB / 0.6821 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.739e-05/0.4274, allocations: 8.719 kB / 0.6821 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.82e-05/0.4275, allocations: 1.281 kB / 0.6821 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.861e-05/0.4275, allocations: 10.33 kB / 0.6821 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.27e-05/0.4275, allocations: 2.688 kB / 0.6821 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.959e-06/0.4275, allocations: 0 / 0.6821 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004621/0.428, allocations: 349.3 kB / 0.6825 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.238e-06/0.428, allocations: 0 / 0.6825 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.993e-05/0.428, allocations: 6.156 kB / 0.6825 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002348/0.4283, allocations: 140.9 kB / 0.6826 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.4283, allocations: 0 / 0.6826 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4283, allocations: 1.156 kB / 0.6826 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.4283, allocations: 0 / 0.6826 GB, free: 4.156 MB / 0.4981 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.0003246/0.4286, allocations: 346.6 kB / 0.6829 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.4287, allocations: 9.531 kB / 0.683 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.748e-05/0.4287, allocations: 35.91 kB / 0.683 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.457e-05/0.4287, allocations: 6.453 kB / 0.683 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.357e-05/0.4288, allocations: 164.4 kB / 0.6832 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.4288, allocations: 5.25 kB / 0.6832 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-06/0.4288, allocations: 9.156 kB / 0.6832 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.556e-05/0.4289, allocations: 32.8 kB / 0.6832 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.4289, allocations: 3.938 kB / 0.6832 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.4289, allocations: 0 / 0.6832 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.4289, allocations: 1.062 kB / 0.6832 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.363e-05/0.4289, allocations: 10.48 kB / 0.6832 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001138/0.429, allocations: 149.4 kB / 0.6834 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.571e-05/0.4291, allocations: 18.98 kB / 0.6834 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.751e-05/0.4291, allocations: 14.77 kB / 0.6834 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.4291, allocations: 5.422 kB / 0.6834 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/0.4291, allocations: 34.56 kB / 0.6834 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.4291, allocations: 5.406 kB / 0.6834 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001291/0.4293, allocations: 34.45 kB / 0.6835 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.4293, allocations: 52.56 kB / 0.6835 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.581e-05/0.4293, allocations: 100.5 kB / 0.6836 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.851e-06/0.4293, allocations: 25.7 kB / 0.6836 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.223e-05/0.4294, allocations: 80.14 kB / 0.6837 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.061e-05/0.4294, allocations: 10.52 kB / 0.6837 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.256e-05/0.4294, allocations: 11.78 kB / 0.6837 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.53e-05/0.4294, allocations: 318.8 kB / 0.684 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.176e-05/0.4295, allocations: 5.906 kB / 0.684 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.967e-06/0.4295, allocations: 3.656 kB / 0.684 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.557e-05/0.4295, allocations: 16.66 kB / 0.6841 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4295, allocations: 0 / 0.6841 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.025e-05/0.4295, allocations: 38.3 kB / 0.6841 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.4296, allocations: 5.781 kB / 0.6841 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.4296, allocations: 96 / 0.6841 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.4296, allocations: 5 kB / 0.6841 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.4297, allocations: 15.31 kB / 0.6841 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002307/0.43, allocations: 0.583 MB / 0.6847 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.771e-05/0.43, allocations: 0 / 0.6847 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.43, allocations: 4.906 kB / 0.6847 GB, free: 1.875 MB / 0.4981 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 5.106e-05/0.43, allocations: 116.3 kB / 0.6848 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.814e-06/0.43, allocations: 5.453 kB / 0.6848 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.217e-05/0.4301, allocations: 44.97 kB / 0.6849 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.4301, allocations: 7.875 kB / 0.6849 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.4301, allocations: 1.312 kB / 0.6849 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.4301, allocations: 0 / 0.6849 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6e-05/0.4302, allocations: 151.9 kB / 0.685 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.4302, allocations: 5.406 kB / 0.685 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.761e-05/0.4303, allocations: 10.8 kB / 0.685 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.4303, allocations: 5.344 kB / 0.685 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.4303, allocations: 0 / 0.685 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001681/0.4304, allocations: 0.587 MB / 0.6856 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4304, allocations: 3.938 kB / 0.6856 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.336e-05/0.4305, allocations: 66.06 kB / 0.6857 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.701e-05/0.4305, allocations: 82.36 kB / 0.6857 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.112e-05/0.4305, allocations: 4.875 kB / 0.6858 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.373e-05/0.4305, allocations: 0 / 0.6858 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.035e-05/0.4306, allocations: 1.094 kB / 0.6858 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.4306, allocations: 1.469 kB / 0.6858 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.009e-05/0.4306, allocations: 76.56 kB / 0.6858 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.4306, allocations: 1.25 kB / 0.6858 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001973/0.4308, allocations: 10.72 kB / 0.6858 GB, free: 0.6406 MB / 0.4981 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002785/0.431, allocations: 0.6172 MB / 0.6864 GB, free: 24 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001635/0.4312, allocations: 23.83 kB / 0.6865 GB, free: 12 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.4312, allocations: 1.344 kB / 0.6865 GB, free: 12 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.665e-05/0.4313, allocations: 13.36 kB / 0.6865 GB, free: 8 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001436/0.4314, allocations: 9.125 kB / 0.6865 GB, free: 0 / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005385/0.432, allocations: 128.4 kB / 0.6866 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/0.4323, allocations: 0.6716 MB / 0.6873 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.655e-05/0.4323, allocations: 5.406 kB / 0.6873 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.928e-05/0.4323, allocations: 15.42 kB / 0.6873 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of SimCode: time 3.1e-07/0.4323, allocations: 0 / 0.6873 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02647/0.4588, allocations: 1.378 MB / 0.6886 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/12.55, allocations: 6.922 kB / 0.6886 GB, free: 14.42 MB / 0.5137 GB " [Timeout remaining time 647] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.143835404887795] Failed to read output from testmodel.py, exit status != 0: 12.641875616274774 12.667863235 12.23429059 Calling exit ...