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.001373/0.001373, allocations: 101.8 kB / 20.49 MB, free: 1.359 MB / 14.72 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.001519/0.001519, allocations: 217 kB / 23.78 MB, free: 4.523 MB / 14.72 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 1.576/1.576, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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 1.041/1.041, allocations: 150 MB / 464 MB, free: 10.2 MB / 366.1 MB " [Timeout remaining time 178] 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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 70.73 kB / 0.642 GB, free: 9.906 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2185, allocations: 89.17 MB / 0.729 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.003539/0.2221, allocations: 1.458 MB / 0.7305 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001308/0.2234, allocations: 0.5643 MB / 0.731 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.655e-05/0.2235, allocations: 4 kB / 0.731 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.969e-05/0.2235, allocations: 3.938 kB / 0.731 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.462e-05/0.2236, allocations: 7.922 kB / 0.731 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007767/0.2243, allocations: 166.2 kB / 0.7312 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.2245, allocations: 47.86 kB / 0.7312 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.796e-05/0.2245, allocations: 7.969 kB / 0.7312 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.459e-05/0.2246, allocations: 19.94 kB / 0.7313 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.216e-05/0.2247, allocations: 31.84 kB / 0.7313 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.2247, allocations: 4 kB / 0.7313 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005182/0.2252, allocations: 283.5 kB / 0.7316 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.281e-05/0.2252, allocations: 11.98 kB / 0.7316 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.277e-05/0.2253, allocations: 31.84 kB / 0.7316 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003822/0.2256, allocations: 167.6 kB / 0.7318 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.2257, allocations: 4 kB / 0.7318 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.844e-06/0.2257, allocations: 0 / 0.7318 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.2257, allocations: 0 / 0.7318 GB, free: 14.01 MB / 0.5606 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.0006832/0.2263, allocations: 321.8 kB / 0.7321 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.2264, allocations: 8.031 kB / 0.7321 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.792e-05/0.2264, allocations: 8.172 kB / 0.7321 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.384e-05/0.2265, allocations: 34.75 kB / 0.7321 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.593e-05/0.2265, allocations: 16.89 kB / 0.7321 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.2266, allocations: 110.5 kB / 0.7323 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.019e-05/0.2267, allocations: 4.375 kB / 0.7323 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.332e-05/0.2267, allocations: 15.89 kB / 0.7323 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003096/0.227, allocations: 129 kB / 0.7324 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.227, allocations: 0 / 0.7324 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.2271, allocations: 0 / 0.7324 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.2271, allocations: 4 kB / 0.7324 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002554/0.2273, allocations: 55.94 kB / 0.7325 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006671/0.228, allocations: 291.7 kB / 0.7327 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003053/0.2283, allocations: 74.53 kB / 0.7328 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001182/0.2284, allocations: 28.78 kB / 0.7328 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.2284, allocations: 160 / 0.7328 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.344e-05/0.2285, allocations: 42.5 kB / 0.7329 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 8.52e-07/0.2285, allocations: 0 / 0.7329 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.00178/0.2303, allocations: 0.4995 MB / 0.7334 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.2303, allocations: 55.41 kB / 0.7334 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.2304, allocations: 105.8 kB / 0.7335 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.2304, allocations: 25.7 kB / 0.7335 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.021e-05/0.2305, allocations: 96.09 kB / 0.7336 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.952e-05/0.2306, allocations: 39.67 kB / 0.7337 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.036e-05/0.2306, allocations: 29.7 kB / 0.7337 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.2308, allocations: 310.8 kB / 0.734 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.2309, allocations: 35.97 kB / 0.734 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.2311, allocations: 39.91 kB / 0.7341 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002402/0.2313, allocations: 60.84 kB / 0.7341 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.2313, allocations: 4 kB / 0.7341 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003418/0.2317, allocations: 133.4 kB / 0.7343 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.2317, allocations: 4 kB / 0.7343 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.2317, allocations: 3.938 kB / 0.7343 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.2317, allocations: 0 / 0.7343 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.2319, allocations: 31.98 kB / 0.7343 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.2319, allocations: 0 / 0.7343 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.361e-05/0.2319, allocations: 4 kB / 0.7343 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.2319, allocations: 3.984 kB / 0.7343 GB, free: 11.17 MB / 0.5606 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 0.0001236/0.2321, allocations: 123.8 kB / 0.7344 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.954e-05/0.2321, allocations: 7.953 kB / 0.7344 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004055/0.2325, allocations: 132.8 kB / 0.7346 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.2325, allocations: 3.938 kB / 0.7346 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2325, allocations: 0 / 0.7346 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/0.2325, allocations: 3.984 kB / 0.7346 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006449/0.2332, allocations: 353.5 kB / 0.7349 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2332, allocations: 0 / 0.7349 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001431/0.2333, allocations: 27.98 kB / 0.7349 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.2333, allocations: 0 / 0.7349 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.2333, allocations: 4 kB / 0.7349 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.2333, allocations: 0 / 0.7349 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2333, allocations: 0 / 0.7349 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005258/0.2339, allocations: 255.2 kB / 0.7352 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.459e-05/0.2339, allocations: 11.97 kB / 0.7352 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.2339, allocations: 192 / 0.7352 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.234, allocations: 12.06 kB / 0.7352 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.417e-05/0.234, allocations: 11.97 kB / 0.7352 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.2341, allocations: 4 kB / 0.7352 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.785e-05/0.2341, allocations: 87.27 kB / 0.7353 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.2341, allocations: 0 / 0.7353 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002917/0.2344, allocations: 39.81 kB / 0.7353 GB, free: 10.04 MB / 0.5606 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.00098/0.2354, allocations: 0.8176 MB / 0.7361 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003261/0.2357, allocations: 80.02 kB / 0.7362 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2357, allocations: 0 / 0.7362 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.2359, allocations: 44.78 kB / 0.7362 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.2362, allocations: 8 kB / 0.7363 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002418/0.2386, allocations: 1.611 MB / 0.7378 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.877e-05/0.2387, allocations: 75.33 kB / 0.7379 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.132e-05/0.2388, allocations: 16.66 kB / 0.7379 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.414e-05/0.2388, allocations: 27.36 kB / 0.7379 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of SimCode: time 3.41e-07/0.2388, allocations: 4 kB / 0.7379 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02695/0.2658, allocations: 2.52 MB / 0.7404 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.01, allocations: 10.12 kB / 0.7404 GB, free: 4.906 MB / 0.5606 GB " [Timeout remaining time 648] (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 sys.exit(0), Time elapsed: 16.104378476040438] Failed to read output from testmodel.py, exit status != 0: 12.174624092993326 12.191515305 11.962469295 Calling exit ...