Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.001829/0.00183, allocations: 100.7 kB / 16.39 MB, free: 6.375 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.001942/0.001942, allocations: 192.7 kB / 19.35 MB, free: 3.84 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.407/1.407, allocations: 222.9 MB / 245 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.552/2.552, allocations: 437.1 MB / 0.7171 GB, free: 4.062 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 67.89 kB / 1.027 GB, free: 7.855 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8303/0.8322, allocations: 151.6 MB / 1.175 GB, free: 3.531 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002404/0.8347, allocations: 1.288 MB / 1.176 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001064/0.8358, allocations: 0.6136 MB / 1.177 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.687e-05/0.8358, allocations: 4 kB / 1.177 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.492e-05/0.8359, allocations: 11.86 kB / 1.177 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.512e-05/0.8359, allocations: 0 / 1.177 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005514/0.8365, allocations: 152.8 kB / 1.177 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.047e-05/0.8365, allocations: 31.86 kB / 1.177 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.598e-05/0.8366, allocations: 0 / 1.177 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.091e-05/0.8366, allocations: 15.92 kB / 1.177 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.952e-05/0.8367, allocations: 19.91 kB / 1.177 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.8367, allocations: 0 / 1.177 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005167/0.8372, allocations: 343.3 kB / 1.177 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.585e-05/0.8373, allocations: 7.984 kB / 1.177 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.751e-05/0.8373, allocations: 11.94 kB / 1.177 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002686/0.8376, allocations: 153.4 kB / 1.177 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.8376, allocations: 8 kB / 1.177 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.313e-06/0.8376, allocations: 0 / 1.177 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.8376, allocations: 0 / 1.177 GB, free: 0.8789 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004531/0.8381, allocations: 375 kB / 1.178 GB, free: 472 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.8381, allocations: 8.031 kB / 1.178 GB, free: 464 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.8e-05/0.8381, allocations: 34.75 kB / 1.178 GB, free: 420 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.883e-05/0.8382, allocations: 4.938 kB / 1.178 GB, free: 416 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.8383, allocations: 168.3 kB / 1.178 GB, free: 208 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.8383, allocations: 12.31 kB / 1.178 GB, free: 196 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.8384, allocations: 4.375 kB / 1.178 GB, free: 192 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.8385, allocations: 50.23 kB / 1.178 GB, free: 136 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.8385, allocations: 7.922 kB / 1.178 GB, free: 128 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.8386, allocations: 0 / 1.178 GB, free: 128 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.8386, allocations: 4 kB / 1.178 GB, free: 124 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.839e-05/0.8386, allocations: 19.92 kB / 1.178 GB, free: 104 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002041/0.8388, allocations: 161.7 kB / 1.178 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.839, allocations: 66.55 kB / 1.178 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.4e-05/0.839, allocations: 24.86 kB / 1.178 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.839, allocations: 0 / 1.178 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/0.8391, allocations: 38.55 kB / 1.178 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 8.82e-07/0.8391, allocations: 0 / 1.178 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11): time 0.001182/0.8403, allocations: 0.5918 MB / 1.179 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.8403, allocations: 59.33 kB / 1.179 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.095e-05/0.8404, allocations: 97.86 kB / 1.179 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.8404, allocations: 25.7 kB / 1.179 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.104e-05/0.8405, allocations: 80.14 kB / 1.179 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.883e-05/0.8405, allocations: 43.67 kB / 1.179 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.777e-05/0.8406, allocations: 29.84 kB / 1.179 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.8407, allocations: 318.8 kB / 1.179 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.835e-05/0.8408, allocations: 23.98 kB / 1.179 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.924e-05/0.8408, allocations: 17 kB / 1.179 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.742e-05/0.8409, allocations: 57.72 kB / 1.179 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.8409, allocations: 0 / 1.179 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000153/0.8411, allocations: 107.1 kB / 1.18 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.8411, allocations: 4 kB / 1.18 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.8411, allocations: 0 / 1.18 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.8411, allocations: 4 kB / 1.18 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.8413, allocations: 27.98 kB / 1.18 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.8413, allocations: 0 / 1.18 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.176e-05/0.8413, allocations: 0 / 1.18 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.8413, allocations: 8 kB / 1.18 GB, free: 14.12 MB / 0.9044 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 9.136e-05/0.8414, allocations: 109.8 kB / 1.18 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.633e-05/0.8414, allocations: 7.938 kB / 1.18 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002221/0.8417, allocations: 121.4 kB / 1.18 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.8417, allocations: 4 kB / 1.18 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.8417, allocations: 0 / 1.18 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.8417, allocations: 0 / 1.18 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004165/0.8421, allocations: 354.4 kB / 1.18 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.8421, allocations: 0 / 1.18 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.8422, allocations: 19.98 kB / 1.18 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.8422, allocations: 0 / 1.18 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.8423, allocations: 8 kB / 1.18 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.8423, allocations: 0 / 1.18 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.8423, allocations: 0 / 1.18 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002854/0.8426, allocations: 219.7 kB / 1.18 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.466e-05/0.8426, allocations: 85.22 kB / 1.181 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.8426, allocations: 3.938 kB / 1.181 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.688e-05/0.8427, allocations: 7.984 kB / 1.181 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.344e-05/0.8428, allocations: 11.98 kB / 1.181 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.8428, allocations: 0 / 1.181 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.207e-05/0.8428, allocations: 83.22 kB / 1.181 GB, free: 13 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8428, allocations: 4.156 kB / 1.181 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002673/0.8431, allocations: 35.88 kB / 1.181 GB, free: 12.96 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_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.0006522/0.8438, allocations: 0.7865 MB / 1.181 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001531/0.8439, allocations: 63.91 kB / 1.181 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.8439, allocations: 0 / 1.181 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 5.183e-05/0.844, allocations: 39.98 kB / 1.182 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/0.8442, allocations: 7.125 kB / 1.182 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/0.8458, allocations: 1.49 MB / 1.183 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.8461, allocations: 0.6923 MB / 1.184 GB, free: 9.754 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.797e-05/0.8461, allocations: 11.98 kB / 1.184 GB, free: 9.742 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.471e-05/0.8462, allocations: 27.42 kB / 1.184 GB, free: 9.719 MB / 0.9044 GB Notification: Performance of SimCode: time 3.11e-07/0.8462, allocations: 0 / 1.184 GB, free: 9.719 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02521/0.8714, allocations: 2.068 MB / 1.186 GB, free: 7.832 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.179/9.051, allocations: 12.92 kB / 1.186 GB, free: 7.824 MB / 0.9044 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=400 --tolerance=1e-08 Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 14.655978546943516] Failed to read output from testmodel.py, exit status != 0: 9.120062717003748 9.136599024 8.296020627 Calling exit ...