Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001851/0.001851, allocations: 109.4 kB / 16.46 MB, free: 6.035 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.002335/0.002335, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.438/1.438, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.089/3.089, allocations: 497.2 MB / 0.7811 GB, free: 33.64 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="Buildings_latest_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_latest_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.001914/0.001914, allocations: 61.12 kB / 1.134 GB, free: 33.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3442, allocations: 173.9 MB / 1.304 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.003088/0.3473, allocations: 1.302 MB / 1.305 GB, free: 300 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001302/0.3486, allocations: 0.6192 MB / 1.306 GB, free: 15.67 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.383e-05/0.3486, allocations: 0 / 1.306 GB, free: 15.67 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.847e-05/0.3486, allocations: 0 / 1.306 GB, free: 15.67 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.598e-05/0.3487, allocations: 3.938 kB / 1.306 GB, free: 15.67 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006764/0.3494, allocations: 147.4 kB / 1.306 GB, free: 15.52 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.958e-05/0.3494, allocations: 23.92 kB / 1.306 GB, free: 15.5 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 6.193e-05/0.3495, allocations: 7.984 kB / 1.306 GB, free: 15.49 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.014e-05/0.3495, allocations: 15.92 kB / 1.306 GB, free: 15.48 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.151e-05/0.3496, allocations: 15.92 kB / 1.306 GB, free: 15.46 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.3496, allocations: 4 kB / 1.306 GB, free: 15.46 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004971/0.3501, allocations: 343.3 kB / 1.306 GB, free: 15.12 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.366e-05/0.3501, allocations: 4 kB / 1.306 GB, free: 15.12 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.932e-05/0.3501, allocations: 11.94 kB / 1.306 GB, free: 15.11 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002809/0.3504, allocations: 159.8 kB / 1.307 GB, free: 14.95 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3504, allocations: 4 kB / 1.307 GB, free: 14.95 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3504, allocations: 0 / 1.307 GB, free: 14.95 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.3504, allocations: 0 / 1.307 GB, free: 14.95 MB / 1.014 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.0004835/0.3509, allocations: 371.1 kB / 1.307 GB, free: 14.53 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.351, allocations: 8.031 kB / 1.307 GB, free: 14.52 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.163e-05/0.351, allocations: 30.75 kB / 1.307 GB, free: 14.48 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.25e-05/0.351, allocations: 12.88 kB / 1.307 GB, free: 14.47 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.3512, allocations: 164.3 kB / 1.307 GB, free: 14.27 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.3512, allocations: 8.375 kB / 1.307 GB, free: 14.27 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/0.3512, allocations: 4.375 kB / 1.307 GB, free: 14.26 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.3513, allocations: 58.17 kB / 1.307 GB, free: 14.2 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.3513, allocations: 7.875 kB / 1.307 GB, free: 14.19 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.3514, allocations: 4 kB / 1.307 GB, free: 14.19 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3514, allocations: 0 / 1.307 GB, free: 14.19 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.915e-05/0.3514, allocations: 15.98 kB / 1.307 GB, free: 14.17 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001925/0.3516, allocations: 173.6 kB / 1.307 GB, free: 13.95 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.3517, allocations: 54.5 kB / 1.307 GB, free: 13.89 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.797e-05/0.3518, allocations: 36.84 kB / 1.307 GB, free: 13.85 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.3518, allocations: 4 kB / 1.307 GB, free: 13.85 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.3518, allocations: 30.56 kB / 1.307 GB, free: 13.81 MB / 1.014 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.3518, allocations: 0 / 1.307 GB, free: 13.81 MB / 1.014 GB Notification: Performance of matching and sorting (n=11): time 0.001203/0.353, allocations: 0.5879 MB / 1.308 GB, free: 13.13 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.3531, allocations: 51.41 kB / 1.308 GB, free: 13.07 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.121e-05/0.3531, allocations: 93.86 kB / 1.308 GB, free: 12.96 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.3532, allocations: 29.7 kB / 1.308 GB, free: 12.93 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.267e-05/0.3532, allocations: 80.14 kB / 1.308 GB, free: 12.85 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.84e-05/0.3533, allocations: 47.62 kB / 1.308 GB, free: 12.8 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-05/0.3533, allocations: 29.7 kB / 1.308 GB, free: 12.77 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.3534, allocations: 319 kB / 1.309 GB, free: 12.45 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.141e-05/0.3535, allocations: 19.98 kB / 1.309 GB, free: 12.43 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.085e-05/0.3535, allocations: 23.94 kB / 1.309 GB, free: 12.4 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.707e-05/0.3536, allocations: 60.09 kB / 1.309 GB, free: 12.34 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.3536, allocations: 0 / 1.309 GB, free: 12.34 MB / 1.014 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001496/0.3538, allocations: 97.62 kB / 1.309 GB, free: 12.24 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.3538, allocations: 6.031 kB / 1.309 GB, free: 12.24 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.207e-06/0.3538, allocations: 0 / 1.309 GB, free: 12.24 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.3538, allocations: 4 kB / 1.309 GB, free: 12.23 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.3539, allocations: 27.92 kB / 1.309 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.3539, allocations: 0 / 1.309 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.443e-05/0.3539, allocations: 4 kB / 1.309 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.3539, allocations: 4.094 kB / 1.309 GB, free: 12.2 MB / 1.014 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 8.598e-05/0.354, allocations: 125.7 kB / 1.309 GB, free: 12.07 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.037e-05/0.3541, allocations: 15.88 kB / 1.309 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001948/0.3542, allocations: 101.5 kB / 1.309 GB, free: 11.94 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3542, allocations: 0 / 1.309 GB, free: 11.94 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3543, allocations: 0 / 1.309 GB, free: 11.94 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.3543, allocations: 8 kB / 1.309 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000406/0.3547, allocations: 346.5 kB / 1.309 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3547, allocations: 0 / 1.309 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.3548, allocations: 31.86 kB / 1.31 GB, free: 11.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3548, allocations: 0 / 1.31 GB, free: 11.5 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.3548, allocations: 0 / 1.31 GB, free: 11.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.3548, allocations: 4 kB / 1.31 GB, free: 11.5 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.3548, allocations: 0 / 1.31 GB, free: 11.5 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002543/0.355, allocations: 223.4 kB / 1.31 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.822e-05/0.3551, allocations: 85.05 kB / 1.31 GB, free: 11.16 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.3551, allocations: 4.031 kB / 1.31 GB, free: 11.16 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.375e-05/0.3552, allocations: 4 kB / 1.31 GB, free: 11.16 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.345e-05/0.3552, allocations: 7.984 kB / 1.31 GB, free: 11.15 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-06/0.3552, allocations: 4 kB / 1.31 GB, free: 11.14 MB / 1.014 GB Notification: Performance of sorting global known variables: time 3.771e-05/0.3553, allocations: 75.28 kB / 1.31 GB, free: 11.07 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3553, allocations: 0 / 1.31 GB, free: 11.07 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002543/0.3555, allocations: 36.03 kB / 1.31 GB, free: 11.04 MB / 1.014 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.0006408/0.3562, allocations: 0.7946 MB / 1.311 GB, free: 10.21 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001455/0.3563, allocations: 63.84 kB / 1.311 GB, free: 10.15 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.3563, allocations: 4 kB / 1.311 GB, free: 10.15 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 4.649e-05/0.3564, allocations: 23.98 kB / 1.311 GB, free: 10.12 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/0.3566, allocations: 19.05 kB / 1.311 GB, free: 10.11 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.3581, allocations: 1.496 MB / 1.312 GB, free: 8.535 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.3583, allocations: 0.6807 MB / 1.313 GB, free: 7.828 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.708e-05/0.3584, allocations: 11.94 kB / 1.313 GB, free: 7.816 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.695e-05/0.3584, allocations: 23.42 kB / 1.313 GB, free: 7.797 MB / 1.014 GB Notification: Performance of SimCode: time 2.71e-07/0.3584, allocations: 0 / 1.313 GB, free: 7.797 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02535/0.3838, allocations: 2.09 MB / 1.315 GB, free: 5.895 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.952/8.336, allocations: 13.81 kB / 1.315 GB, free: 5.883 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 14.754715047776699] Failed to read output from testmodel.py, exit status != 0: 8.401423915755004 8.41624316 8.063012749 Calling exit ...