Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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.001352/0.001352, allocations: 114 kB / 17.12 MB, free: 5.91 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.00134/0.00134, allocations: 195.7 kB / 20.08 MB, free: 2.973 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.458/1.458, allocations: 225.6 MB / 248.5 MB, free: 3.629 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.8954/0.8954, allocations: 129.2 MB / 432.5 MB, free: 13.18 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_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 71.88 kB / 0.5987 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4257/0.4276, allocations: 83.44 MB / 0.6802 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002277/0.4299, allocations: 1.277 MB / 0.6814 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009178/0.4308, allocations: 0.6197 MB / 0.682 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.154e-05/0.4309, allocations: 1.375 kB / 0.682 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.16e-05/0.4309, allocations: 3.984 kB / 0.682 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.873e-05/0.4309, allocations: 3.938 kB / 0.682 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004841/0.4314, allocations: 143.9 kB / 0.6822 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.646e-05/0.4315, allocations: 26.03 kB / 0.6822 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.183e-05/0.4315, allocations: 2.094 kB / 0.6822 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.046e-05/0.4316, allocations: 12 kB / 0.6822 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.501e-05/0.4316, allocations: 3.594 kB / 0.6822 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.4316, allocations: 1.375 kB / 0.6822 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004262/0.4321, allocations: 343.8 kB / 0.6826 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.129e-05/0.4321, allocations: 6.016 kB / 0.6826 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.345e-05/0.4321, allocations: 15.09 kB / 0.6826 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002318/0.4323, allocations: 143.6 kB / 0.6827 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.4323, allocations: 4 kB / 0.6827 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4323, allocations: 0 / 0.6827 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.202e-05/0.4323, allocations: 1.094 kB / 0.6827 GB, free: 4.09 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003601/0.4327, allocations: 366 kB / 0.6831 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.4327, allocations: 9.625 kB / 0.6831 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.465e-05/0.4328, allocations: 31.75 kB / 0.6831 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.623e-05/0.4328, allocations: 3.062 kB / 0.6831 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.98e-05/0.4329, allocations: 161.5 kB / 0.6833 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.4329, allocations: 5.5 kB / 0.6833 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.4329, allocations: 10.53 kB / 0.6833 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.527e-05/0.433, allocations: 42.88 kB / 0.6833 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.433, allocations: 1.156 kB / 0.6833 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.433, allocations: 0 / 0.6833 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.433, allocations: 1.188 kB / 0.6833 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.531e-05/0.4331, allocations: 10.23 kB / 0.6833 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001164/0.4332, allocations: 158.6 kB / 0.6835 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.4334, allocations: 42.23 kB / 0.6835 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.822e-05/0.4334, allocations: 20.14 kB / 0.6835 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.4334, allocations: 5.453 kB / 0.6835 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.481e-05/0.4334, allocations: 34.5 kB / 0.6836 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.4334, allocations: 1.094 kB / 0.6836 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0005377/0.434, allocations: 311.5 kB / 0.6839 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.988e-05/0.434, allocations: 55.41 kB / 0.6839 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.207e-05/0.434, allocations: 98.91 kB / 0.684 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.427e-06/0.434, allocations: 29.7 kB / 0.6841 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.474e-05/0.434, allocations: 80.14 kB / 0.6841 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.17e-05/0.4341, allocations: 22.45 kB / 0.6842 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.758e-05/0.4341, allocations: 19.06 kB / 0.6842 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.818e-05/0.4341, allocations: 316 kB / 0.6845 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.371e-05/0.4342, allocations: 10.19 kB / 0.6845 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.138e-05/0.4342, allocations: 19.89 kB / 0.6845 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.014e-05/0.4342, allocations: 32.19 kB / 0.6845 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.4342, allocations: 3.938 kB / 0.6845 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.326e-05/0.4343, allocations: 68.41 kB / 0.6846 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.4343, allocations: 5.75 kB / 0.6846 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.4343, allocations: 0 / 0.6846 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.4343, allocations: 4.875 kB / 0.6846 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.898e-05/0.4344, allocations: 9.156 kB / 0.6846 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.4344, allocations: 1.375 kB / 0.6846 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.76e-05/0.4344, allocations: 4 kB / 0.6846 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.4344, allocations: 6.625 kB / 0.6846 GB, free: 2.066 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 (7): * Single equations (assignments): 7 * 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 4.354e-05/0.4345, allocations: 118.9 kB / 0.6847 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.197e-05/0.4345, allocations: 6.297 kB / 0.6847 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001154/0.4346, allocations: 79.16 kB / 0.6848 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.4346, allocations: 0 / 0.6848 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.4346, allocations: 1.281 kB / 0.6848 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.4346, allocations: 0 / 0.6848 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002201/0.4348, allocations: 320.3 kB / 0.6851 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.4348, allocations: 0 / 0.6851 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.856e-05/0.4349, allocations: 10.09 kB / 0.6851 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.4349, allocations: 1.281 kB / 0.6851 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.4349, allocations: 1.312 kB / 0.6851 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.4349, allocations: 0 / 0.6851 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.4349, allocations: 1.281 kB / 0.6851 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.435, allocations: 186.5 kB / 0.6853 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.544e-05/0.435, allocations: 86.66 kB / 0.6854 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.4351, allocations: 5.453 kB / 0.6854 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.156e-05/0.4351, allocations: 1.094 kB / 0.6854 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.873e-05/0.4351, allocations: 2.219 kB / 0.6854 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.4352, allocations: 6.156 kB / 0.6854 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.978e-05/0.4352, allocations: 81.56 kB / 0.6855 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.4352, allocations: 1.344 kB / 0.6855 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000241/0.4354, allocations: 22.27 kB / 0.6855 GB, free: 1.164 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0003411/0.4358, allocations: 0.7352 MB / 0.6862 GB, free: 468 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000104/0.4359, allocations: 27.14 kB / 0.6863 GB, free: 460 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.4359, allocations: 0 / 0.6863 GB, free: 460 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.903e-05/0.4359, allocations: 26.89 kB / 0.6863 GB, free: 444 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.4361, allocations: 14.22 kB / 0.6863 GB, free: 432 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.4373, allocations: 1.324 MB / 0.6876 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/0.4376, allocations: 0.6836 MB / 0.6883 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.121e-05/0.4377, allocations: 3.219 kB / 0.6883 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.469e-05/0.4377, allocations: 14.59 kB / 0.6883 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of SimCode: time 4e-07/0.4377, allocations: 0 / 0.6883 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02444/0.4621, allocations: 1.642 MB / 0.6899 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.193/8.655, allocations: 12.55 kB / 0.6899 GB, free: 13.57 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.085015499964356] Failed to read output from testmodel.py, exit status != 0: 8.722580899950117 8.736773716 8.301415122 Calling exit ...