Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.0007908/0.0007908, 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.0008516/0.0008516, 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.8662/0.8662, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.674/1.674, allocations: 377.8 MB / 0.6221 GB, free: 8.676 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_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_12_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_12_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 1.383e-06/1.383e-06, allocations: 0 / 0.981 GB, free: 2.602 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.846e-05/1.984e-05, allocations: 4.953 kB / 0.981 GB, free: 2.598 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002289/0.002309, allocations: 1.491 MB / 0.9824 GB, free: 1.098 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.000845/0.003154, allocations: 0.5642 MB / 0.983 GB, free: 0.5312 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.884e-05/0.003183, allocations: 0 / 0.983 GB, free: 0.5312 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.569e-05/0.003209, allocations: 3.938 kB / 0.983 GB, free: 0.5273 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 3.924e-05/0.003248, allocations: 7.922 kB / 0.983 GB, free: 0.5195 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004124/0.00366, allocations: 163.2 kB / 0.9831 GB, free: 368 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.225e-05/0.003732, allocations: 55.77 kB / 0.9832 GB, free: 312 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.793e-05/0.00377, allocations: 4 kB / 0.9832 GB, free: 308 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.396e-05/0.003834, allocations: 31.97 kB / 0.9832 GB, free: 276 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.424e-05/0.003869, allocations: 23.91 kB / 0.9832 GB, free: 252 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.003883, allocations: 4 kB / 0.9833 GB, free: 248 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002658/0.004149, allocations: 271.4 kB / 0.9835 GB, free: 15.98 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.921e-05/0.004168, allocations: 19.91 kB / 0.9835 GB, free: 15.96 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 2.059e-05/0.004188, allocations: 12 kB / 0.9835 GB, free: 15.95 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002031/0.004392, allocations: 191.4 kB / 0.9837 GB, free: 15.76 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.033e-06/0.004394, allocations: 0 / 0.9837 GB, free: 15.76 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.042e-06/0.004395, allocations: 3.938 kB / 0.9837 GB, free: 15.75 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.004398, allocations: 0 / 0.9837 GB, free: 15.75 MB / 0.948 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.0004071/0.004806, allocations: 325.8 kB / 0.984 GB, free: 15.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.004845, allocations: 8.031 kB / 0.984 GB, free: 15.39 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.638e-05/0.004882, allocations: 42.73 kB / 0.9841 GB, free: 15.34 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.517e-05/0.004907, allocations: 8.891 kB / 0.9841 GB, free: 15.34 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.032e-05/0.004977, allocations: 101.8 kB / 0.9842 GB, free: 15.21 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.004999, allocations: 4.375 kB / 0.9842 GB, free: 15.21 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/0.005017, allocations: 8.375 kB / 0.9842 GB, free: 15.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.005188, allocations: 136.8 kB / 0.9843 GB, free: 15.05 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.005197, allocations: 192 / 0.9843 GB, free: 15.05 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.005207, allocations: 8.375 kB / 0.9843 GB, free: 15.04 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.005212, allocations: 4.125 kB / 0.9843 GB, free: 15.04 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.00533, allocations: 51.89 kB / 0.9844 GB, free: 14.99 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003758/0.005706, allocations: 287.8 kB / 0.9847 GB, free: 14.66 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.005869, allocations: 82.41 kB / 0.9848 GB, free: 14.57 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.631e-05/0.005925, allocations: 28.84 kB / 0.9848 GB, free: 14.54 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.005942, allocations: 4 kB / 0.9848 GB, free: 14.54 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.00596, allocations: 34.56 kB / 0.9848 GB, free: 14.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 9.01e-07/0.005961, allocations: 4 kB / 0.9848 GB, free: 14.49 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.000911/0.006872, allocations: 0.4994 MB / 0.9853 GB, free: 13.94 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.509e-05/0.006897, allocations: 51.41 kB / 0.9854 GB, free: 13.88 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.066e-05/0.006948, allocations: 109.8 kB / 0.9855 GB, free: 13.76 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.006959, allocations: 25.7 kB / 0.9855 GB, free: 13.73 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.162e-05/0.00699, allocations: 88.14 kB / 0.9856 GB, free: 13.64 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.863e-05/0.007019, allocations: 43.58 kB / 0.9856 GB, free: 13.59 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.204e-05/0.007051, allocations: 29.7 kB / 0.9856 GB, free: 13.56 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.717e-05/0.007128, allocations: 322.8 kB / 0.9859 GB, free: 13.23 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.426e-05/0.007192, allocations: 31.97 kB / 0.986 GB, free: 13.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.239e-05/0.007255, allocations: 35.92 kB / 0.986 GB, free: 13.17 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.007383, allocations: 72.83 kB / 0.9861 GB, free: 13.09 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.007384, allocations: 0 / 0.9861 GB, free: 13.09 MB / 0.948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001631/0.007547, allocations: 113.7 kB / 0.9862 GB, free: 12.98 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.007559, allocations: 10.81 kB / 0.9862 GB, free: 12.97 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.007563, allocations: 96 / 0.9862 GB, free: 12.97 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.007574, allocations: 3.938 kB / 0.9862 GB, free: 12.96 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.412e-05/0.007658, allocations: 35.91 kB / 0.9862 GB, free: 12.93 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.007662, allocations: 4 kB / 0.9862 GB, free: 12.93 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.85e-05/0.007691, allocations: 4 kB / 0.9862 GB, free: 12.92 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.007698, allocations: 4 kB / 0.9862 GB, free: 12.92 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 6.472e-05/0.007763, allocations: 121.8 kB / 0.9864 GB, free: 12.79 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.484e-05/0.007777, allocations: 4 kB / 0.9864 GB, free: 12.79 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002025/0.00798, allocations: 130 kB / 0.9865 GB, free: 12.66 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.007981, allocations: 0 / 0.9865 GB, free: 12.66 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.007985, allocations: 4 kB / 0.9865 GB, free: 12.65 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.007988, allocations: 7.938 kB / 0.9865 GB, free: 12.64 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003298/0.008318, allocations: 349.5 kB / 0.9868 GB, free: 12.25 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.00832, allocations: 7.984 kB / 0.9868 GB, free: 12.25 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.482e-05/0.008394, allocations: 23.98 kB / 0.9869 GB, free: 12.22 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.008396, allocations: 0 / 0.9869 GB, free: 12.22 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.008403, allocations: 0 / 0.9869 GB, free: 12.22 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.008405, allocations: 7.875 kB / 0.9869 GB, free: 12.21 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.008406, allocations: 3.938 kB / 0.9869 GB, free: 12.21 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002689/0.008675, allocations: 251.4 kB / 0.9871 GB, free: 11.95 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.06e-06/0.00868, allocations: 0 / 0.9871 GB, free: 11.95 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.008693, allocations: 4.031 kB / 0.9871 GB, free: 11.95 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.267e-05/0.008755, allocations: 11.98 kB / 0.9871 GB, free: 11.93 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.688e-05/0.008772, allocations: 11.92 kB / 0.9871 GB, free: 11.92 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.008777, allocations: 0 / 0.9871 GB, free: 11.92 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.353e-05/0.0088, allocations: 83.28 kB / 0.9872 GB, free: 11.84 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.0088, allocations: 0 / 0.9872 GB, free: 11.84 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001887/0.008989, allocations: 39.86 kB / 0.9873 GB, free: 11.8 MB / 0.948 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.0004933/0.009482, allocations: 0.825 MB / 0.9881 GB, free: 10.95 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001743/0.009657, allocations: 83.81 kB / 0.9881 GB, free: 10.87 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.009658, allocations: 0 / 0.9881 GB, free: 10.87 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.929e-05/0.009728, allocations: 39.98 kB / 0.9882 GB, free: 10.83 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001982/0.009926, allocations: 19.86 kB / 0.9882 GB, free: 10.81 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.01112, allocations: 1.55 MB / 0.9897 GB, free: 9.176 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.97e-05/0.01117, allocations: 79.08 kB / 0.9898 GB, free: 9.078 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.757e-05/0.01121, allocations: 12.83 kB / 0.9898 GB, free: 9.062 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.292e-05/0.01125, allocations: 32.47 kB / 0.9898 GB, free: 9.031 MB / 0.948 GB Notification: Performance of SimCode: time 3.6e-07/0.01125, allocations: 0 / 0.9898 GB, free: 9.031 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01575/0.027, allocations: 3.004 MB / 0.9928 GB, free: 6.258 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.5/6.527, allocations: 11.39 kB / 0.9928 GB, free: 6.25 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=400 --tolerance=1e-08 Buildings_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 10.371908736415207] Failed to read output from testmodel.py, exit status != 0: 6.607466395944357 6.615698476 6.609592557 Calling exit ...