Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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.001451/0.001451, allocations: 103.6 kB / 16.45 MB, free: 6.508 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.00154/0.00154, allocations: 200.5 kB / 19.41 MB, free: 3.664 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.443/1.443, allocations: 225.6 MB / 247.8 MB, free: 13.96 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.063/3.063, allocations: 497.2 MB / 0.7812 GB, free: 33.81 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_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 73.09 kB / 1.134 GB, free: 33.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3769/0.3788, allocations: 173.9 MB / 1.304 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002844/0.3817, allocations: 1.486 MB / 1.305 GB, free: 56 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001191/0.3829, allocations: 0.6305 MB / 1.306 GB, free: 15.42 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.261e-05/0.3829, allocations: 4 kB / 1.306 GB, free: 15.42 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.392e-05/0.3829, allocations: 3.938 kB / 1.306 GB, free: 15.41 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.517e-05/0.383, allocations: 7.922 kB / 1.306 GB, free: 15.41 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000572/0.3836, allocations: 158.7 kB / 1.306 GB, free: 15.25 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.3837, allocations: 59.78 kB / 1.306 GB, free: 15.2 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.661e-05/0.3837, allocations: 3.984 kB / 1.306 GB, free: 15.19 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.161e-05/0.3838, allocations: 23.92 kB / 1.306 GB, free: 15.17 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.758e-05/0.3838, allocations: 27.92 kB / 1.306 GB, free: 15.14 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.3839, allocations: 4 kB / 1.306 GB, free: 15.14 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005225/0.3844, allocations: 343.3 kB / 1.307 GB, free: 14.8 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.189e-05/0.3844, allocations: 11.92 kB / 1.307 GB, free: 14.79 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.209e-05/0.3844, allocations: 31.86 kB / 1.307 GB, free: 14.76 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003152/0.3848, allocations: 175.7 kB / 1.307 GB, free: 14.59 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3848, allocations: 3.938 kB / 1.307 GB, free: 14.58 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3848, allocations: 0 / 1.307 GB, free: 14.58 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.3848, allocations: 0 / 1.307 GB, free: 14.58 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007254/0.3855, allocations: 408.5 kB / 1.307 GB, free: 14.13 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.3855, allocations: 12.03 kB / 1.307 GB, free: 14.12 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.46e-05/0.3856, allocations: 34.75 kB / 1.307 GB, free: 14.08 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.176e-05/0.3856, allocations: 12.89 kB / 1.307 GB, free: 14.07 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.3858, allocations: 164.4 kB / 1.307 GB, free: 13.87 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.973e-05/0.3858, allocations: 384 / 1.307 GB, free: 13.87 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.32e-05/0.3859, allocations: 12.36 kB / 1.307 GB, free: 13.86 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002693/0.3861, allocations: 82.16 kB / 1.308 GB, free: 13.77 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.3862, allocations: 15.86 kB / 1.308 GB, free: 13.75 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.3862, allocations: 4 kB / 1.308 GB, free: 13.75 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.3862, allocations: 0 / 1.308 GB, free: 13.75 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002337/0.3864, allocations: 47.95 kB / 1.308 GB, free: 13.7 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006464/0.3871, allocations: 328.6 kB / 1.308 GB, free: 13.33 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002928/0.3874, allocations: 74.53 kB / 1.308 GB, free: 13.25 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.3875, allocations: 32.84 kB / 1.308 GB, free: 13.21 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.3875, allocations: 160 / 1.308 GB, free: 13.21 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/0.3875, allocations: 30.56 kB / 1.308 GB, free: 13.18 MB / 1.014 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.3876, allocations: 4 kB / 1.308 GB, free: 13.17 MB / 1.014 GB Notification: Performance of matching and sorting (n=11): time 0.001907/0.3895, allocations: 0.6461 MB / 1.309 GB, free: 12.43 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.034e-05/0.3895, allocations: 51.41 kB / 1.309 GB, free: 12.37 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.3896, allocations: 117.7 kB / 1.309 GB, free: 12.25 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.906e-05/0.3897, allocations: 25.7 kB / 1.309 GB, free: 12.21 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.197e-05/0.3897, allocations: 88.09 kB / 1.309 GB, free: 12.12 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.087e-05/0.3898, allocations: 43.67 kB / 1.309 GB, free: 12.08 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.032e-05/0.3899, allocations: 29.7 kB / 1.309 GB, free: 12.05 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002077/0.3901, allocations: 314.8 kB / 1.309 GB, free: 11.73 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.3902, allocations: 31.97 kB / 1.309 GB, free: 11.7 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.3903, allocations: 35.98 kB / 1.309 GB, free: 11.66 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002606/0.3906, allocations: 80.64 kB / 1.309 GB, free: 11.59 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.3906, allocations: 0 / 1.309 GB, free: 11.59 MB / 1.014 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003446/0.3909, allocations: 121.6 kB / 1.31 GB, free: 11.46 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.391, allocations: 4 kB / 1.31 GB, free: 11.46 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.391, allocations: 3.938 kB / 1.31 GB, free: 11.45 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.391, allocations: 0 / 1.31 GB, free: 11.45 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/0.3911, allocations: 27.98 kB / 1.31 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.3911, allocations: 7.938 kB / 1.31 GB, free: 11.42 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.605e-05/0.3912, allocations: 0 / 1.31 GB, free: 11.42 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.3912, allocations: 11.98 kB / 1.31 GB, free: 11.41 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 0.0001236/0.3913, allocations: 117.8 kB / 1.31 GB, free: 11.28 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.274e-05/0.3914, allocations: 7.953 kB / 1.31 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000385/0.3918, allocations: 125.5 kB / 1.31 GB, free: 11.14 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.3918, allocations: 8 kB / 1.31 GB, free: 11.13 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.3918, allocations: 3.938 kB / 1.31 GB, free: 11.13 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.3918, allocations: 3.984 kB / 1.31 GB, free: 11.12 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006226/0.3924, allocations: 374.4 kB / 1.31 GB, free: 10.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.3924, allocations: 4 kB / 1.31 GB, free: 10.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001446/0.3925, allocations: 23.98 kB / 1.31 GB, free: 10.68 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.3925, allocations: 4.219 kB / 1.31 GB, free: 10.67 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.3926, allocations: 11.92 kB / 1.31 GB, free: 10.66 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.3926, allocations: 8 kB / 1.31 GB, free: 10.65 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3926, allocations: 0 / 1.31 GB, free: 10.65 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005433/0.3931, allocations: 251.4 kB / 1.311 GB, free: 10.39 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.317e-05/0.3932, allocations: 81.06 kB / 1.311 GB, free: 10.29 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/0.3932, allocations: 7.938 kB / 1.311 GB, free: 10.29 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.3933, allocations: 15.98 kB / 1.311 GB, free: 10.27 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.696e-05/0.3933, allocations: 4 kB / 1.311 GB, free: 10.27 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.3933, allocations: 8 kB / 1.311 GB, free: 10.26 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.346e-05/0.3934, allocations: 83.27 kB / 1.311 GB, free: 10.18 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3934, allocations: 0 / 1.311 GB, free: 10.18 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003045/0.3937, allocations: 35.88 kB / 1.311 GB, free: 10.14 MB / 1.014 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.0009872/0.3947, allocations: 0.8138 MB / 1.312 GB, free: 9.301 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003248/0.395, allocations: 80.44 kB / 1.312 GB, free: 9.223 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.395, allocations: 0 / 1.312 GB, free: 9.223 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.3951, allocations: 51.84 kB / 1.312 GB, free: 9.172 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.3955, allocations: 9.406 kB / 1.312 GB, free: 9.164 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002238/0.3977, allocations: 1.602 MB / 1.313 GB, free: 7.484 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003683/0.3981, allocations: 0.7006 MB / 1.314 GB, free: 6.758 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 6.858e-05/0.3982, allocations: 12.75 kB / 1.314 GB, free: 6.746 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.202e-05/0.3982, allocations: 23.42 kB / 1.314 GB, free: 6.723 MB / 1.014 GB Notification: Performance of SimCode: time 4.91e-07/0.3982, allocations: 3.938 kB / 1.314 GB, free: 6.719 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0269/0.4251, allocations: 2.343 MB / 1.316 GB, free: 4.566 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.427/8.852, allocations: 10.3 kB / 1.316 GB, free: 4.559 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 15.34424576209858] Failed to read output from testmodel.py, exit status != 0: 8.926985528785735 8.957610774 8.567699004 Calling exit ...