Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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.0008584/0.0008584, allocations: 76.55 kB / 19.92 MB, free: 4.637 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.0009564/0.0009564, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.8844/0.8844, allocations: 177.1 MB / 203.5 MB, free: 5.727 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.5504/0.5504, allocations: 114 MB / 373.9 MB, free: 8.684 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_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 0.5542 GB, free: 1.676 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.118e-05/1.227e-05, allocations: 2.281 kB / 0.5542 GB, free: 1.672 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.00156/0.001572, allocations: 1.31 MB / 0.5555 GB, free: 372 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008384/0.00241, allocations: 0.5254 MB / 0.556 GB, free: 15.84 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.907e-05/0.002439, allocations: 0 / 0.556 GB, free: 15.84 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.255e-05/0.002462, allocations: 7.922 kB / 0.556 GB, free: 15.83 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.154e-05/0.002504, allocations: 11.92 kB / 0.556 GB, free: 15.82 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006707/0.003174, allocations: 139.3 kB / 0.5561 GB, free: 15.68 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.318e-05/0.003237, allocations: 23.86 kB / 0.5561 GB, free: 15.66 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.18e-05/0.003279, allocations: 7.984 kB / 0.5562 GB, free: 15.65 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.821e-05/0.003327, allocations: 8 kB / 0.5562 GB, free: 15.64 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.665e-05/0.003374, allocations: 7.984 kB / 0.5562 GB, free: 15.63 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.003388, allocations: 4 kB / 0.5562 GB, free: 15.63 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002896/0.003677, allocations: 267.4 kB / 0.5564 GB, free: 15.37 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.699e-05/0.003694, allocations: 7.969 kB / 0.5564 GB, free: 15.36 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.768e-05/0.003712, allocations: 7.938 kB / 0.5564 GB, free: 15.35 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001923/0.003904, allocations: 155.5 kB / 0.5566 GB, free: 15.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.003906, allocations: 0 / 0.5566 GB, free: 15.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.003907, allocations: 0 / 0.5566 GB, free: 15.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.067e-06/0.003911, allocations: 0 / 0.5566 GB, free: 15.2 MB / 490.7 MB 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.000356/0.004267, allocations: 286 kB / 0.5569 GB, free: 14.89 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.004312, allocations: 12.03 kB / 0.5569 GB, free: 14.88 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.188e-05/0.004343, allocations: 34.75 kB / 0.5569 GB, free: 14.84 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.549e-05/0.004369, allocations: 4.891 kB / 0.5569 GB, free: 14.83 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.172e-05/0.004441, allocations: 105.8 kB / 0.557 GB, free: 14.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.00445, allocations: 384 / 0.557 GB, free: 14.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.004469, allocations: 8.375 kB / 0.557 GB, free: 14.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.004576, allocations: 67.64 kB / 0.5571 GB, free: 14.62 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.231e-06/0.004582, allocations: 0 / 0.5571 GB, free: 14.62 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.004591, allocations: 8 kB / 0.5571 GB, free: 14.61 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.004596, allocations: 0 / 0.5571 GB, free: 14.61 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.4e-05/0.00463, allocations: 7.984 kB / 0.5571 GB, free: 14.6 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001223/0.004752, allocations: 128.7 kB / 0.5572 GB, free: 14.43 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001601/0.004912, allocations: 46.61 kB / 0.5573 GB, free: 14.38 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.589e-05/0.004938, allocations: 20.94 kB / 0.5573 GB, free: 14.36 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.004955, allocations: 3.938 kB / 0.5573 GB, free: 14.35 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/0.004972, allocations: 38.44 kB / 0.5573 GB, free: 14.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.613e-06/0.004974, allocations: 3.984 kB / 0.5573 GB, free: 14.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004645/0.005439, allocations: 229.2 kB / 0.5576 GB, free: 14.04 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.686e-05/0.005465, allocations: 51.41 kB / 0.5576 GB, free: 13.98 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.588e-05/0.005511, allocations: 97.84 kB / 0.5577 GB, free: 13.88 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.00552, allocations: 25.7 kB / 0.5577 GB, free: 13.84 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.62e-05/0.005546, allocations: 92.12 kB / 0.5578 GB, free: 13.75 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.00557, allocations: 23.75 kB / 0.5578 GB, free: 13.73 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.821e-05/0.005598, allocations: 21.7 kB / 0.5579 GB, free: 13.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.206e-05/0.00567, allocations: 318.8 kB / 0.5582 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.793e-05/0.005688, allocations: 8 kB / 0.5582 GB, free: 13.37 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.499e-05/0.005703, allocations: 11.98 kB / 0.5582 GB, free: 13.36 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.609e-05/0.005749, allocations: 40.86 kB / 0.5582 GB, free: 13.32 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.00575, allocations: 0 / 0.5582 GB, free: 13.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.424e-05/0.005814, allocations: 65.62 kB / 0.5583 GB, free: 13.25 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.005826, allocations: 4 kB / 0.5583 GB, free: 13.24 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.00583, allocations: 3.938 kB / 0.5583 GB, free: 13.24 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.00584, allocations: 4 kB / 0.5583 GB, free: 13.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.366e-05/0.005873, allocations: 12 kB / 0.5583 GB, free: 13.22 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.005879, allocations: 3.984 kB / 0.5583 GB, free: 13.22 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.155e-05/0.00589, allocations: 4 kB / 0.5583 GB, free: 13.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-06/0.005895, allocations: 4 kB / 0.5583 GB, free: 13.21 MB / 490.7 MB 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 4.646e-05/0.005942, allocations: 105.8 kB / 0.5584 GB, free: 13.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.965e-06/0.00595, allocations: 11.88 kB / 0.5584 GB, free: 13.09 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.44e-05/0.006044, allocations: 69.81 kB / 0.5585 GB, free: 13.01 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.006045, allocations: 0 / 0.5585 GB, free: 13.01 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.00605, allocations: 3.984 kB / 0.5585 GB, free: 13.01 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.006053, allocations: 4 kB / 0.5585 GB, free: 13 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002268/0.00628, allocations: 290.4 kB / 0.5588 GB, free: 12.67 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.006281, allocations: 0 / 0.5588 GB, free: 12.67 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.663e-05/0.006318, allocations: 11.98 kB / 0.5588 GB, free: 12.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.00632, allocations: 4 kB / 0.5588 GB, free: 12.65 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.006326, allocations: 0 / 0.5588 GB, free: 12.65 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.006327, allocations: 0 / 0.5588 GB, free: 12.65 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.006328, allocations: 0 / 0.5588 GB, free: 12.65 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000151/0.006479, allocations: 180.3 kB / 0.559 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.03e-05/0.006499, allocations: 12.02 kB / 0.559 GB, free: 12.45 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.00651, allocations: 4.281 kB / 0.559 GB, free: 12.44 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.923e-05/0.006569, allocations: 12 kB / 0.559 GB, free: 12.43 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.498e-05/0.006584, allocations: 3.984 kB / 0.559 GB, free: 12.43 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.00659, allocations: 7.938 kB / 0.559 GB, free: 12.42 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.3e-05/0.006623, allocations: 75.28 kB / 0.5591 GB, free: 12.34 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006623, allocations: 0 / 0.5591 GB, free: 12.34 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000252/0.006875, allocations: 23.94 kB / 0.5591 GB, free: 12.32 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0004236/0.007299, allocations: 0.7327 MB / 0.5598 GB, free: 11.56 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.457e-05/0.007393, allocations: 28.05 kB / 0.5598 GB, free: 11.53 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.007395, allocations: 4 kB / 0.5598 GB, free: 11.53 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.627e-05/0.007411, allocations: 15.94 kB / 0.5599 GB, free: 11.51 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001607/0.007572, allocations: 15.92 kB / 0.5599 GB, free: 11.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008669/0.008439, allocations: 1.314 MB / 0.5612 GB, free: 10.09 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.453e-05/0.008483, allocations: 63.34 kB / 0.5612 GB, free: 10.01 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.205e-05/0.008505, allocations: 7.984 kB / 0.5612 GB, free: 10 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.875e-05/0.008534, allocations: 8.5 kB / 0.5612 GB, free: 9.996 MB / 490.7 MB Notification: Performance of SimCode: time 2.91e-07/0.008534, allocations: 0 / 0.5612 GB, free: 9.996 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02788/0.03642, allocations: 2.26 MB / 0.5634 GB, free: 7.949 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.301/7.338, allocations: 3.938 kB / 0.5634 GB, free: 7.945 MB / 490.7 MB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.746612319722772] Failed to read output from testmodel.py, exit status != 0: 7.417343714274466 7.428688515 7.422915732 Calling exit ...