Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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.001552/0.001552, allocations: 110.9 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.001702/0.001702, 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.441/1.441, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.688/2.688, allocations: 476.7 MB / 0.7611 GB, free: 11.31 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_DerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 63.89 kB / 1.104 GB, free: 9.258 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8028/0.8048, allocations: 168.7 MB / 1.269 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002564/0.8074, allocations: 1.279 MB / 1.27 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001102/0.8085, allocations: 0.6149 MB / 1.271 GB, free: 3.242 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.337e-05/0.8085, allocations: 0 / 1.271 GB, free: 3.242 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.59e-05/0.8085, allocations: 0 / 1.271 GB, free: 3.242 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.822e-05/0.8085, allocations: 11.92 kB / 1.271 GB, free: 3.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005386/0.8091, allocations: 140.6 kB / 1.271 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.078e-05/0.8092, allocations: 19.92 kB / 1.271 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.342e-05/0.8092, allocations: 4 kB / 1.271 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.156e-05/0.8092, allocations: 15.91 kB / 1.271 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.905e-05/0.8093, allocations: 8 kB / 1.271 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/0.8093, allocations: 4 kB / 1.271 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005089/0.8098, allocations: 339.3 kB / 1.271 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.932e-05/0.8098, allocations: 11.92 kB / 1.271 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.202e-05/0.8099, allocations: 4 kB / 1.271 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002726/0.8101, allocations: 149.3 kB / 1.271 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.8101, allocations: 0 / 1.271 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8101, allocations: 0 / 1.271 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.8101, allocations: 0 / 1.271 GB, free: 2.551 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004771/0.8106, allocations: 365.2 kB / 1.272 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.8107, allocations: 8.031 kB / 1.272 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.925e-05/0.8107, allocations: 42.73 kB / 1.272 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.544e-05/0.8107, allocations: 0.9375 kB / 1.272 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.8109, allocations: 168.3 kB / 1.272 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.8109, allocations: 8.312 kB / 1.272 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.8109, allocations: 384 / 1.272 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.811, allocations: 46.19 kB / 1.272 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.811, allocations: 3.938 kB / 1.272 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.811, allocations: 0 / 1.272 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.811, allocations: 4 kB / 1.272 GB, free: 1.816 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.131e-05/0.8111, allocations: 15.98 kB / 1.272 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001945/0.8113, allocations: 161.6 kB / 1.272 GB, free: 1.594 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/0.8115, allocations: 42.56 kB / 1.272 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.352e-05/0.8115, allocations: 16.86 kB / 1.272 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.8115, allocations: 0 / 1.272 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.8116, allocations: 38.5 kB / 1.272 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.8116, allocations: 0 / 1.272 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0006653/0.8122, allocations: 310.4 kB / 1.272 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.8123, allocations: 55.41 kB / 1.272 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.444e-05/0.8123, allocations: 93.86 kB / 1.273 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.8123, allocations: 29.64 kB / 1.273 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.66e-05/0.8124, allocations: 80.14 kB / 1.273 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.314e-05/0.8124, allocations: 31.78 kB / 1.273 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.831e-05/0.8125, allocations: 17.72 kB / 1.273 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.8126, allocations: 314.8 kB / 1.273 GB, free: 476 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.77e-05/0.8126, allocations: 11.98 kB / 1.273 GB, free: 464 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.339e-05/0.8126, allocations: 12 kB / 1.273 GB, free: 452 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.145e-05/0.8127, allocations: 32.8 kB / 1.273 GB, free: 416 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.8127, allocations: 4 kB / 1.273 GB, free: 412 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001038/0.8128, allocations: 69.56 kB / 1.273 GB, free: 336 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.8128, allocations: 8 kB / 1.273 GB, free: 328 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.8128, allocations: 4 kB / 1.273 GB, free: 324 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.8128, allocations: 0.5156 kB / 1.273 GB, free: 324 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.389e-05/0.8129, allocations: 11.98 kB / 1.273 GB, free: 312 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.8129, allocations: 0 / 1.273 GB, free: 312 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.268e-05/0.8129, allocations: 8 kB / 1.273 GB, free: 304 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.8129, allocations: 0 / 1.273 GB, free: 304 kB / 0.9669 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 (7): * Single equations (assignments): 7 * 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.681e-05/0.813, allocations: 109.8 kB / 1.273 GB, free: 184 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.264e-05/0.813, allocations: 7.875 kB / 1.273 GB, free: 176 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001503/0.8132, allocations: 81.86 kB / 1.273 GB, free: 80 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.8132, allocations: 7.922 kB / 1.273 GB, free: 72 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.8132, allocations: 4 kB / 1.273 GB, free: 68 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.8132, allocations: 0 / 1.273 GB, free: 68 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003619/0.8135, allocations: 311.4 kB / 1.274 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.8136, allocations: 192 / 1.274 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.472e-05/0.8136, allocations: 15.98 kB / 1.274 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.8136, allocations: 4 kB / 1.274 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.8136, allocations: 0 / 1.274 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.8136, allocations: 0 / 1.274 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.8136, allocations: 4.031 kB / 1.274 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001961/0.8138, allocations: 184.2 kB / 1.274 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.118e-05/0.8139, allocations: 81.09 kB / 1.274 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.8139, allocations: 8.031 kB / 1.274 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.022e-05/0.814, allocations: 0 / 1.274 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.89e-05/0.814, allocations: 7.984 kB / 1.274 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.814, allocations: 4.062 kB / 1.274 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.34e-05/0.814, allocations: 79.28 kB / 1.274 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.814, allocations: 0 / 1.274 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002487/0.8143, allocations: 23.94 kB / 1.274 GB, free: 15.26 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0005659/0.8148, allocations: 0.7386 MB / 1.275 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001118/0.815, allocations: 39.91 kB / 1.275 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.815, allocations: 0 / 1.275 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.04e-05/0.815, allocations: 19.94 kB / 1.275 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002177/0.8152, allocations: 5.219 kB / 1.275 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.8166, allocations: 1.327 MB / 1.276 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/0.8169, allocations: 0.6807 MB / 1.277 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.079e-05/0.8169, allocations: 4 kB / 1.277 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.189e-05/0.8169, allocations: 11.42 kB / 1.277 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of SimCode: time 7.62e-07/0.8169, allocations: 8 kB / 1.277 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02429/0.8412, allocations: 1.618 MB / 1.278 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.047/8.888, allocations: 25.44 kB / 1.278 GB, free: 10.84 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 14.78828206891194] Failed to read output from testmodel.py, exit status != 0: 8.954118499998003 8.968127963 8.155120024 Calling exit ...