Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007789/0.0007789, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008008/0.0008008, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8148/0.8148, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.612/1.612, allocations: 377.8 MB / 0.6221 GB, free: 8.633 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="Buildings_12_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_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.981 GB, free: 2.551 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.674e-05/1.811e-05, allocations: 4.953 kB / 0.981 GB, free: 2.547 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001578/0.001596, allocations: 1.31 MB / 0.9822 GB, free: 1.227 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0009127/0.002509, allocations: 0.5409 MB / 0.9828 GB, free: 0.6836 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.676e-05/0.002536, allocations: 0 / 0.9828 GB, free: 0.6836 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.902e-05/0.002555, allocations: 3.984 kB / 0.9828 GB, free: 0.6797 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 3.596e-05/0.002591, allocations: 0 / 0.9828 GB, free: 0.6797 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007576/0.003348, allocations: 157.3 kB / 0.9829 GB, free: 0.5273 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.479e-05/0.003413, allocations: 31.86 kB / 0.983 GB, free: 0.4961 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.461e-05/0.003458, allocations: 4 kB / 0.983 GB, free: 0.4922 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 3.686e-05/0.003495, allocations: 19.97 kB / 0.983 GB, free: 484 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.229e-05/0.003547, allocations: 7.984 kB / 0.983 GB, free: 476 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.003561, allocations: 4 kB / 0.983 GB, free: 472 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003007/0.003861, allocations: 271.4 kB / 0.9832 GB, free: 200 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.501e-05/0.003876, allocations: 7.984 kB / 0.9833 GB, free: 192 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.025e-05/0.003897, allocations: 11.94 kB / 0.9833 GB, free: 180 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001916/0.004088, allocations: 163.5 kB / 0.9834 GB, free: 16 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.004092, allocations: 0 / 0.9834 GB, free: 16 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.693e-06/0.004094, allocations: 0 / 0.9834 GB, free: 16 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.004098, allocations: 0 / 0.9834 GB, free: 16 kB / 0.9323 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.0003449/0.004443, allocations: 294 kB / 0.9837 GB, free: 15.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.004479, allocations: 8.031 kB / 0.9837 GB, free: 15.69 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.842e-05/0.004508, allocations: 38.75 kB / 0.9837 GB, free: 15.64 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.768e-05/0.004536, allocations: 8.891 kB / 0.9838 GB, free: 15.63 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.847e-05/0.004604, allocations: 109.7 kB / 0.9839 GB, free: 15.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.148e-06/0.004613, allocations: 384 / 0.9839 GB, free: 15.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.101e-05/0.004634, allocations: 8.359 kB / 0.9839 GB, free: 15.49 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.004748, allocations: 105.6 kB / 0.984 GB, free: 15.37 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.004757, allocations: 192 / 0.984 GB, free: 15.37 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.004764, allocations: 384 / 0.984 GB, free: 15.37 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.004769, allocations: 8.125 kB / 0.984 GB, free: 15.36 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.046e-05/0.00481, allocations: 19.98 kB / 0.984 GB, free: 15.34 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001235/0.004933, allocations: 136.7 kB / 0.9841 GB, free: 15.17 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.579e-05/0.005019, allocations: 58.5 kB / 0.9842 GB, free: 15.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.206e-05/0.005051, allocations: 28.84 kB / 0.9842 GB, free: 15.07 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.005072, allocations: 4 kB / 0.9842 GB, free: 15.07 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.005091, allocations: 30.56 kB / 0.9842 GB, free: 15.03 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 6.71e-07/0.005092, allocations: 3.938 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.0008619/0.005954, allocations: 451.8 kB / 0.9847 GB, free: 14.53 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/0.005979, allocations: 55.41 kB / 0.9847 GB, free: 14.46 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.403e-05/0.006023, allocations: 97.86 kB / 0.9848 GB, free: 14.36 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.006033, allocations: 25.7 kB / 0.9848 GB, free: 14.32 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.019e-05/0.006054, allocations: 80.14 kB / 0.9849 GB, free: 14.24 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.203e-05/0.006086, allocations: 39.62 kB / 0.985 GB, free: 14.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.963e-05/0.006115, allocations: 25.72 kB / 0.985 GB, free: 14.17 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.881e-05/0.006184, allocations: 322.8 kB / 0.9853 GB, free: 13.85 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.936e-05/0.006213, allocations: 27.92 kB / 0.9853 GB, free: 13.82 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.592e-05/0.006239, allocations: 24.12 kB / 0.9853 GB, free: 13.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.583e-05/0.006305, allocations: 63.78 kB / 0.9854 GB, free: 13.73 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.006306, allocations: 0 / 0.9854 GB, free: 13.73 MB / 0.948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 9.022e-05/0.006396, allocations: 93.64 kB / 0.9855 GB, free: 13.64 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.006409, allocations: 7.938 kB / 0.9855 GB, free: 13.63 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.006413, allocations: 0 / 0.9855 GB, free: 13.63 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.849e-06/0.006423, allocations: 0 / 0.9855 GB, free: 13.63 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.257e-05/0.006495, allocations: 27.92 kB / 0.9855 GB, free: 13.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.006499, allocations: 0 / 0.9855 GB, free: 13.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.413e-05/0.006513, allocations: 4 kB / 0.9855 GB, free: 13.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.882e-06/0.00652, allocations: 4 kB / 0.9855 GB, free: 13.59 MB / 0.948 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 5.169e-05/0.006572, allocations: 117.8 kB / 0.9857 GB, free: 13.47 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.644e-06/0.00658, allocations: 3.953 kB / 0.9857 GB, free: 13.46 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001253/0.006705, allocations: 117.6 kB / 0.9858 GB, free: 13.35 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.006707, allocations: 4 kB / 0.9858 GB, free: 13.34 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.00671, allocations: 96 / 0.9858 GB, free: 13.34 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.006713, allocations: 3.938 kB / 0.9858 GB, free: 13.34 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003595/0.007072, allocations: 325.7 kB / 0.9861 GB, free: 12.97 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.007073, allocations: 0 / 0.9861 GB, free: 12.97 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.969e-05/0.007133, allocations: 23.92 kB / 0.9861 GB, free: 12.95 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.007134, allocations: 4 kB / 0.9861 GB, free: 12.95 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.972e-06/0.00714, allocations: 4 kB / 0.9861 GB, free: 12.94 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.007141, allocations: 0 / 0.9861 GB, free: 12.94 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.007142, allocations: 0 / 0.9861 GB, free: 12.94 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001613/0.007303, allocations: 223.4 kB / 0.9863 GB, free: 12.71 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.15e-06/0.007308, allocations: 4.031 kB / 0.9863 GB, free: 12.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.07e-05/0.007319, allocations: 3.984 kB / 0.9863 GB, free: 12.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.671e-05/0.007366, allocations: 4 kB / 0.9863 GB, free: 12.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.424e-05/0.00738, allocations: 7.984 kB / 0.9863 GB, free: 12.69 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.007386, allocations: 4 kB / 0.9864 GB, free: 12.68 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.025e-05/0.007406, allocations: 79.34 kB / 0.9864 GB, free: 12.61 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.007406, allocations: 0 / 0.9864 GB, free: 12.61 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001821/0.007588, allocations: 39.88 kB / 0.9865 GB, free: 12.57 MB / 0.948 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.0003838/0.007972, allocations: 0.7825 MB / 0.9872 GB, free: 11.75 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001006/0.008073, allocations: 59.91 kB / 0.9873 GB, free: 11.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.008074, allocations: 0 / 0.9873 GB, free: 11.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.766e-05/0.008102, allocations: 27.98 kB / 0.9873 GB, free: 11.67 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.00825, allocations: 11.94 kB / 0.9873 GB, free: 11.66 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008952/0.009145, allocations: 1.469 MB / 0.9888 GB, free: 10.11 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.266e-05/0.009188, allocations: 72.52 kB / 0.9888 GB, free: 10.02 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.966e-05/0.009217, allocations: 15.92 kB / 0.9888 GB, free: 10 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.118e-05/0.009248, allocations: 16.5 kB / 0.9889 GB, free: 9.988 MB / 0.948 GB Notification: Performance of SimCode: time 4.81e-07/0.009249, allocations: 0 / 0.9889 GB, free: 9.988 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01388/0.02312, allocations: 2.713 MB / 0.9915 GB, free: 7.477 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.514/6.537, allocations: 4.656 kB / 0.9915 GB, free: 7.473 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=400 --tolerance=1e-08 Buildings_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 10.186914894729853] Failed to read output from testmodel.py, exit status != 0: 6.616600221954286 6.627192565 6.621160004 Calling exit ...