Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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.001804/0.001804, allocations: 104.9 kB / 16.45 MB, free: 6.504 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.002317/0.002317, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.501/1.501, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 0.9164/0.9164, allocations: 145.2 MB / 447.9 MB, free: 6.723 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_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.003276/0.003276, allocations: 67.55 kB / 0.62 GB, free: 1.395 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.245, allocations: 86.64 MB / 0.7046 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.003578/0.2486, allocations: 1.28 MB / 0.7058 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001618/0.2502, allocations: 0.6191 MB / 0.7064 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.002e-05/0.2502, allocations: 0 / 0.7064 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.895e-05/0.2502, allocations: 3.938 kB / 0.7064 GB, free: 8.777 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.48e-05/0.2503, allocations: 4 kB / 0.7064 GB, free: 8.773 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008283/0.2511, allocations: 151.4 kB / 0.7066 GB, free: 8.625 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.197e-05/0.2512, allocations: 15.88 kB / 0.7066 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.817e-05/0.2512, allocations: 11.98 kB / 0.7066 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.94e-05/0.2513, allocations: 8 kB / 0.7066 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.994e-05/0.2514, allocations: 7.938 kB / 0.7066 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.2514, allocations: 0 / 0.7066 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008025/0.2522, allocations: 343.3 kB / 0.707 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.68e-05/0.2522, allocations: 4 kB / 0.707 GB, free: 8.242 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.031e-05/0.2522, allocations: 15.92 kB / 0.707 GB, free: 8.227 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003887/0.2526, allocations: 143.8 kB / 0.7071 GB, free: 8.086 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2526, allocations: 0 / 0.7071 GB, free: 8.086 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2526, allocations: 3.938 kB / 0.7071 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.503e-06/0.2526, allocations: 0 / 0.7071 GB, free: 8.082 MB / 0.5294 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.0005857/0.2532, allocations: 371 kB / 0.7075 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.2533, allocations: 12.03 kB / 0.7075 GB, free: 7.656 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.185e-05/0.2533, allocations: 30.75 kB / 0.7075 GB, free: 7.617 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.471e-05/0.2534, allocations: 4.922 kB / 0.7075 GB, free: 7.613 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.2535, allocations: 168.3 kB / 0.7077 GB, free: 7.41 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.2535, allocations: 4.375 kB / 0.7077 GB, free: 7.406 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.2536, allocations: 384 / 0.7077 GB, free: 7.406 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.2537, allocations: 42.25 kB / 0.7077 GB, free: 7.359 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.2537, allocations: 3.938 kB / 0.7077 GB, free: 7.355 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.467e-06/0.2537, allocations: 4 kB / 0.7077 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.2537, allocations: 0 / 0.7077 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.544e-05/0.2538, allocations: 15.92 kB / 0.7077 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002425/0.254, allocations: 157.7 kB / 0.7079 GB, free: 7.133 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002266/0.2543, allocations: 42.5 kB / 0.7079 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.593e-05/0.2543, allocations: 16.86 kB / 0.7079 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.2543, allocations: 4 kB / 0.708 GB, free: 7.059 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.191e-05/0.2544, allocations: 30.56 kB / 0.708 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.2544, allocations: 0 / 0.708 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0008855/0.2553, allocations: 318.2 kB / 0.7083 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.2553, allocations: 51.41 kB / 0.7083 GB, free: 6.594 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.88e-05/0.2554, allocations: 94.33 kB / 0.7084 GB, free: 6.492 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.2554, allocations: 29.7 kB / 0.7085 GB, free: 6.457 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.881e-05/0.2555, allocations: 88.12 kB / 0.7085 GB, free: 6.367 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.199e-05/0.2555, allocations: 27.78 kB / 0.7086 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.455e-05/0.2556, allocations: 17.72 kB / 0.7086 GB, free: 6.316 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001795/0.2558, allocations: 314.8 kB / 0.7089 GB, free: 6 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.691e-05/0.2558, allocations: 12 kB / 0.7089 GB, free: 5.988 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.621e-05/0.2558, allocations: 12 kB / 0.7089 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.326e-05/0.2559, allocations: 32.84 kB / 0.7089 GB, free: 5.941 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.2559, allocations: 0 / 0.7089 GB, free: 5.941 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001678/0.2561, allocations: 73.53 kB / 0.709 GB, free: 5.863 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.2561, allocations: 14.64 kB / 0.709 GB, free: 5.852 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.2561, allocations: 0 / 0.709 GB, free: 5.852 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.537e-05/0.2562, allocations: 0 / 0.709 GB, free: 5.852 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.225e-05/0.2562, allocations: 8 kB / 0.709 GB, free: 5.844 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.2562, allocations: 4 kB / 0.709 GB, free: 5.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.621e-05/0.2563, allocations: 0 / 0.709 GB, free: 5.84 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.2563, allocations: 0 / 0.709 GB, free: 5.84 MB / 0.5294 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 0.0001038/0.2564, allocations: 113.8 kB / 0.7091 GB, free: 5.719 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.014e-05/0.2564, allocations: 7.969 kB / 0.7091 GB, free: 5.711 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000205/0.2566, allocations: 81.64 kB / 0.7092 GB, free: 5.625 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.2566, allocations: 8 kB / 0.7092 GB, free: 5.617 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.2566, allocations: 0 / 0.7092 GB, free: 5.617 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.2566, allocations: 0 / 0.7092 GB, free: 5.617 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004686/0.2571, allocations: 315.3 kB / 0.7095 GB, free: 5.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.2571, allocations: 3.984 kB / 0.7095 GB, free: 5.246 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.9e-05/0.2572, allocations: 12 kB / 0.7095 GB, free: 5.234 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.2572, allocations: 0 / 0.7095 GB, free: 5.234 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.2572, allocations: 8.031 kB / 0.7096 GB, free: 5.227 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.2572, allocations: 3.938 kB / 0.7096 GB, free: 5.223 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.2572, allocations: 4 kB / 0.7096 GB, free: 5.219 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000282/0.2575, allocations: 180.3 kB / 0.7097 GB, free: 5.023 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001429/0.2576, allocations: 85.08 kB / 0.7098 GB, free: 4.922 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.2577, allocations: 0 / 0.7098 GB, free: 4.922 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.2578, allocations: 3.984 kB / 0.7098 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.029e-05/0.2578, allocations: 8.062 kB / 0.7098 GB, free: 4.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.2578, allocations: 4 kB / 0.7098 GB, free: 4.906 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.604e-05/0.2579, allocations: 79.28 kB / 0.7099 GB, free: 4.828 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2579, allocations: 0 / 0.7099 GB, free: 4.828 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000411/0.2583, allocations: 23.88 kB / 0.7099 GB, free: 4.805 MB / 0.5294 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.0008508/0.2591, allocations: 0.7444 MB / 0.7107 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001374/0.2593, allocations: 27.98 kB / 0.7107 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2593, allocations: 0 / 0.7107 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.567e-05/0.2593, allocations: 19.92 kB / 0.7107 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/0.2597, allocations: 9.625 kB / 0.7107 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002015/0.2617, allocations: 1.327 MB / 0.712 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005845/0.2623, allocations: 0.6768 MB / 0.7127 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 5.024e-05/0.2623, allocations: 11.98 kB / 0.7127 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.698e-05/0.2624, allocations: 19.38 kB / 0.7127 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of SimCode: time 5.01e-07/0.2624, allocations: 0 / 0.7127 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0284/0.2908, allocations: 1.658 MB / 0.7143 GB, free: 372 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.4/8.691, allocations: 9.156 kB / 0.7143 GB, free: 368 kB / 0.5294 GB " [Timeout remaining time 651] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.441890243906528] Failed to read output from testmodel.py, exit status != 0: 8.760025765746832 8.777041459 8.520973352 Calling exit ...