Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0009368/0.0009368, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 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.001144/0.001144, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.9538/0.9538, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5817/0.5817, allocations: 114 MB / 373.9 MB, free: 8.691 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 0.5542 GB, free: 2.789 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.578e-05/2.807e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.785 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.003534/0.003562, allocations: 1.48 MB / 0.5556 GB, free: 1.301 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001219/0.004782, allocations: 0.5604 MB / 0.5562 GB, free: 0.7383 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.077e-05/0.004832, allocations: 0 / 0.5562 GB, free: 0.7383 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.961e-05/0.004872, allocations: 3.938 kB / 0.5562 GB, free: 0.7344 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 5.593e-05/0.004928, allocations: 15.91 kB / 0.5562 GB, free: 0.7188 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006514/0.005579, allocations: 174.3 kB / 0.5564 GB, free: 0.5547 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 9.68e-05/0.005676, allocations: 43.86 kB / 0.5564 GB, free: 0.5117 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 5.934e-05/0.005735, allocations: 11.97 kB / 0.5564 GB, free: 0.5 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 8.847e-05/0.005824, allocations: 27.92 kB / 0.5564 GB, free: 484 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.523e-05/0.005869, allocations: 23.95 kB / 0.5565 GB, free: 460 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.005888, allocations: 4 kB / 0.5565 GB, free: 456 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000358/0.006246, allocations: 267.4 kB / 0.5567 GB, free: 188 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 3.157e-05/0.006278, allocations: 19.91 kB / 0.5567 GB, free: 168 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.41e-05/0.006312, allocations: 15.98 kB / 0.5568 GB, free: 152 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.000337/0.006649, allocations: 195.5 kB / 0.5569 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.006655, allocations: 0 / 0.5569 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.444e-06/0.006657, allocations: 0 / 0.5569 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.593e-06/0.006664, allocations: 0 / 0.5569 GB, free: 15.95 MB / 0.5261 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.0006276/0.007292, allocations: 325.8 kB / 0.5573 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.007342, allocations: 8.031 kB / 0.5573 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.911e-05/0.007391, allocations: 38.75 kB / 0.5573 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.071e-05/0.007432, allocations: 8.891 kB / 0.5573 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.007534, allocations: 105.8 kB / 0.5574 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.513e-05/0.007569, allocations: 4.375 kB / 0.5574 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.867e-05/0.007597, allocations: 20.3 kB / 0.5574 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002612/0.007859, allocations: 133.4 kB / 0.5576 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.007872, allocations: 0 / 0.5576 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.007886, allocations: 4 kB / 0.5576 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.007891, allocations: 0 / 0.5576 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001778/0.008069, allocations: 51.95 kB / 0.5576 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005428/0.008612, allocations: 287.7 kB / 0.5579 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000229/0.008841, allocations: 74.53 kB / 0.558 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.041e-05/0.008921, allocations: 28.84 kB / 0.558 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.008946, allocations: 0 / 0.558 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.008979, allocations: 42.55 kB / 0.558 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.00898, allocations: 0 / 0.558 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.001363/0.01034, allocations: 0.4993 MB / 0.5585 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.01038, allocations: 63.27 kB / 0.5586 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.699e-05/0.01046, allocations: 101.8 kB / 0.5587 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.01048, allocations: 29.7 kB / 0.5587 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.017e-05/0.01053, allocations: 92.08 kB / 0.5588 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.438e-05/0.01056, allocations: 31.7 kB / 0.5588 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-05/0.01062, allocations: 37.7 kB / 0.5589 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003611/0.01098, allocations: 318.8 kB / 0.5592 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.01108, allocations: 31.92 kB / 0.5592 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.038e-05/0.01118, allocations: 31.97 kB / 0.5592 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001852/0.01136, allocations: 72.83 kB / 0.5593 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.01136, allocations: 0 / 0.5593 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002633/0.01162, allocations: 124.6 kB / 0.5594 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.01164, allocations: 7.938 kB / 0.5594 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.01165, allocations: 4.312 kB / 0.5594 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.01167, allocations: 0 / 0.5594 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.01179, allocations: 27.98 kB / 0.5595 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.0118, allocations: 3.938 kB / 0.5595 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.286e-05/0.01184, allocations: 4 kB / 0.5595 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.01186, allocations: 11.97 kB / 0.5595 GB, free: 13.12 MB / 0.5261 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 7.766e-05/0.01193, allocations: 117.8 kB / 0.5596 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.292e-05/0.01197, allocations: 7.953 kB / 0.5596 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003109/0.01228, allocations: 129.6 kB / 0.5597 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.01228, allocations: 4 kB / 0.5597 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/0.01229, allocations: 7.922 kB / 0.5597 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.0123, allocations: 0 / 0.5597 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005148/0.01281, allocations: 341.6 kB / 0.5601 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.01281, allocations: 0 / 0.5601 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.01294, allocations: 28.02 kB / 0.5601 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.698e-06/0.01294, allocations: 11.88 kB / 0.5601 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.01295, allocations: 0 / 0.5601 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.01295, allocations: 0 / 0.5601 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.01296, allocations: 4 kB / 0.5601 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005861/0.01354, allocations: 251 kB / 0.5603 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.712e-05/0.01357, allocations: 3.984 kB / 0.5603 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.221e-05/0.0136, allocations: 7.969 kB / 0.5603 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.01377, allocations: 8 kB / 0.5604 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.94e-05/0.0138, allocations: 11.98 kB / 0.5604 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.01381, allocations: 4 kB / 0.5604 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.972e-05/0.01387, allocations: 87.27 kB / 0.5604 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/0.01387, allocations: 0 / 0.5604 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000374/0.01425, allocations: 39.81 kB / 0.5605 GB, free: 12 MB / 0.5261 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.0007542/0.015, allocations: 0.8176 MB / 0.5613 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002225/0.01522, allocations: 79.95 kB / 0.5614 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.01522, allocations: 0 / 0.5614 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.002e-05/0.01529, allocations: 43.91 kB / 0.5614 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.01556, allocations: 15.94 kB / 0.5614 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.01694, allocations: 1.546 MB / 0.5629 GB, free: 9.387 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.167e-05/0.01699, allocations: 83.2 kB / 0.563 GB, free: 9.285 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.249e-05/0.01704, allocations: 8.812 kB / 0.563 GB, free: 9.273 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.661e-05/0.01708, allocations: 32.48 kB / 0.563 GB, free: 9.242 MB / 0.5261 GB Notification: Performance of SimCode: time 6.71e-07/0.01708, allocations: 4 kB / 0.5631 GB, free: 9.238 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01599/0.03307, allocations: 2.974 MB / 0.566 GB, free: 6.488 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.086/7.119, allocations: 7.188 kB / 0.566 GB, free: 6.484 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.717310175299644] Failed to read output from testmodel.py, exit status != 0: 7.201408889144659 7.209152183 7.200662462 Calling exit ...