Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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.001936/0.001936, allocations: 115.6 kB / 17.13 MB, free: 5.754 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.001577/0.001577, allocations: 191.7 kB / 20.08 MB, free: 2.848 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.464/1.464, allocations: 225.6 MB / 248.5 MB, free: 3.617 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.8545/0.8545, allocations: 129.2 MB / 432.5 MB, free: 13.15 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.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002099/0.002099, allocations: 67.89 kB / 0.5987 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4472/0.4493, allocations: 83.44 MB / 0.6802 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002495/0.4518, allocations: 1.482 MB / 0.6816 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009397/0.4527, allocations: 0.6314 MB / 0.6822 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.933e-05/0.4527, allocations: 5.094 kB / 0.6822 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.284e-05/0.4528, allocations: 3.938 kB / 0.6823 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.799e-05/0.4528, allocations: 8.922 kB / 0.6823 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005633/0.4534, allocations: 155.2 kB / 0.6824 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.53e-05/0.4535, allocations: 49.89 kB / 0.6825 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.144e-05/0.4535, allocations: 7.469 kB / 0.6825 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.169e-05/0.4536, allocations: 24.86 kB / 0.6825 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.716e-05/0.4536, allocations: 35.83 kB / 0.6825 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.4537, allocations: 4.5 kB / 0.6825 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004404/0.4541, allocations: 339.2 kB / 0.6828 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.842e-05/0.4541, allocations: 15.39 kB / 0.6829 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.339e-05/0.4541, allocations: 23.77 kB / 0.6829 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002829/0.4544, allocations: 176.8 kB / 0.6831 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.4544, allocations: 0 / 0.6831 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4544, allocations: 0 / 0.6831 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.4544, allocations: 0.75 kB / 0.6831 GB, free: 3.836 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005473/0.455, allocations: 402.3 kB / 0.6834 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.455, allocations: 10.34 kB / 0.6834 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.747e-05/0.4551, allocations: 39.98 kB / 0.6835 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.415e-05/0.4551, allocations: 8.672 kB / 0.6835 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.335e-05/0.4552, allocations: 166.7 kB / 0.6837 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.894e-05/0.4552, allocations: 7.156 kB / 0.6837 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.607e-05/0.4552, allocations: 13.59 kB / 0.6837 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002283/0.4555, allocations: 74.03 kB / 0.6837 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.4555, allocations: 7.953 kB / 0.6838 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.4555, allocations: 8.844 kB / 0.6838 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.4555, allocations: 1.125 kB / 0.6838 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002254/0.4557, allocations: 52.45 kB / 0.6838 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004775/0.4562, allocations: 316.8 kB / 0.6841 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002596/0.4565, allocations: 90.67 kB / 0.6842 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.4566, allocations: 29.64 kB / 0.6842 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.4566, allocations: 2.156 kB / 0.6842 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.4566, allocations: 31.53 kB / 0.6843 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.113e-06/0.4566, allocations: 0 / 0.6843 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001469/0.4581, allocations: 0.6489 MB / 0.6849 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.4581, allocations: 52.47 kB / 0.6849 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.349e-05/0.4582, allocations: 103.1 kB / 0.685 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.4582, allocations: 31.05 kB / 0.6851 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.018e-05/0.4582, allocations: 90.03 kB / 0.6852 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.008e-05/0.4582, allocations: 39.84 kB / 0.6852 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-05/0.4583, allocations: 26.44 kB / 0.6852 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.435e-05/0.4583, allocations: 317.2 kB / 0.6855 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.4585, allocations: 38.25 kB / 0.6856 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.4586, allocations: 39.11 kB / 0.6856 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002179/0.4588, allocations: 68.36 kB / 0.6857 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4588, allocations: 5.344 kB / 0.6857 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002784/0.4591, allocations: 114.1 kB / 0.6858 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.4591, allocations: 7.406 kB / 0.6858 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.4591, allocations: 1.156 kB / 0.6858 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.4591, allocations: 3.938 kB / 0.6858 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.4592, allocations: 32.61 kB / 0.6858 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.4593, allocations: 5.141 kB / 0.6858 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.898e-05/0.4593, allocations: 7.812 kB / 0.6858 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.699e-06/0.4593, allocations: 2.312 kB / 0.6858 GB, free: 1.223 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.634e-05/0.4594, allocations: 113.9 kB / 0.6859 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.094e-05/0.4594, allocations: 6.422 kB / 0.6859 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000354/0.4598, allocations: 143 kB / 0.6861 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.4598, allocations: 1.062 kB / 0.6861 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.4598, allocations: 1.125 kB / 0.6861 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.4598, allocations: 0 / 0.6861 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004722/0.4602, allocations: 385.3 kB / 0.6865 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.4603, allocations: 0 / 0.6865 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001422/0.4604, allocations: 32.48 kB / 0.6865 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.4604, allocations: 1.125 kB / 0.6865 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.4604, allocations: 5.438 kB / 0.6865 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.4604, allocations: 0 / 0.6865 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4604, allocations: 1.062 kB / 0.6865 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004279/0.4608, allocations: 251.8 kB / 0.6867 GB, free: 444 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.916e-05/0.4609, allocations: 82.38 kB / 0.6868 GB, free: 344 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.4609, allocations: 5.328 kB / 0.6868 GB, free: 340 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.461, allocations: 12.34 kB / 0.6868 GB, free: 332 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.061e-05/0.461, allocations: 12.23 kB / 0.6868 GB, free: 324 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.749e-06/0.461, allocations: 2.625 kB / 0.6868 GB, free: 324 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.524e-05/0.461, allocations: 87.02 kB / 0.6869 GB, free: 240 kB / 0.4981 GB Notification: Performance of sort global known variables: time 6.1e-08/0.461, allocations: 0 / 0.6869 GB, free: 240 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002941/0.4613, allocations: 37.7 kB / 0.687 GB, free: 228 kB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_comp) * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000924/0.4623, allocations: 0.8122 MB / 0.6878 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003263/0.4626, allocations: 88.72 kB / 0.6878 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.4626, allocations: 0 / 0.6878 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001348/0.4627, allocations: 41.83 kB / 0.6879 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.4631, allocations: 16.92 kB / 0.6879 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002248/0.4653, allocations: 1.586 MB / 0.6894 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/0.4657, allocations: 0.6978 MB / 0.6901 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.762e-05/0.4657, allocations: 20.3 kB / 0.6901 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.298e-05/0.4658, allocations: 20.81 kB / 0.6902 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of SimCode: time 6.41e-07/0.4658, allocations: 0 / 0.6902 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02811/0.4939, allocations: 2.34 MB / 0.6924 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.334/8.828, allocations: 17.28 kB / 0.6925 GB, free: 12.07 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.198801846243441] Failed to read output from testmodel.py, exit status != 0: 8.897156507242471 8.912220576 8.454816335 Calling exit ...