Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.0009109/0.0009109, allocations: 76.55 kB / 19.93 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.0008273/0.0008273, allocations: 177.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.8762/0.8762, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.5522/0.5522, allocations: 114 MB / 373.9 MB, free: 8.695 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_dp_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 0.5542 GB, free: 2.785 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.569e-05/1.78e-05, allocations: 4.391 kB / 0.5542 GB, free: 2.781 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.00173/0.001747, allocations: 1.281 MB / 0.5554 GB, free: 1.492 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0007605/0.002508, allocations: 0.5448 MB / 0.556 GB, free: 0.9453 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.115e-05/0.002539, allocations: 0 / 0.556 GB, free: 0.9453 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.017e-05/0.002559, allocations: 0 / 0.556 GB, free: 0.9453 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 4.255e-05/0.002602, allocations: 0 / 0.556 GB, free: 0.9453 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005101/0.003112, allocations: 158.7 kB / 0.5561 GB, free: 0.793 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 5.99e-05/0.003172, allocations: 19.92 kB / 0.5561 GB, free: 0.7734 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.853e-05/0.00321, allocations: 0 / 0.5561 GB, free: 0.7734 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.846e-05/0.003259, allocations: 11.98 kB / 0.5562 GB, free: 0.7617 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.54e-05/0.003304, allocations: 7.938 kB / 0.5562 GB, free: 0.7539 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.003317, allocations: 0 / 0.5562 GB, free: 0.7539 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002996/0.003617, allocations: 271.4 kB / 0.5564 GB, free: 500 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.937e-05/0.003636, allocations: 11.94 kB / 0.5564 GB, free: 488 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.765e-05/0.003654, allocations: 4 kB / 0.5564 GB, free: 484 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001878/0.003842, allocations: 155.5 kB / 0.5566 GB, free: 328 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.003844, allocations: 4 kB / 0.5566 GB, free: 324 kB / 0.5105 GB Notification: Performance of FrontEnd: time 9.82e-07/0.003845, allocations: 0 / 0.5566 GB, free: 324 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.436e-06/0.003848, allocations: 0 / 0.5566 GB, free: 324 kB / 0.5105 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.0003306/0.004179, allocations: 278 kB / 0.5569 GB, free: 16 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.004226, allocations: 8.625 kB / 0.5569 GB, free: 8 kB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.426e-05/0.00427, allocations: 34.75 kB / 0.5569 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.07e-05/0.004301, allocations: 12.89 kB / 0.5569 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.283e-05/0.004394, allocations: 105.8 kB / 0.557 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.004406, allocations: 8.312 kB / 0.557 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.613e-05/0.004432, allocations: 8.312 kB / 0.557 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.004554, allocations: 71.7 kB / 0.5571 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.004562, allocations: 0 / 0.5571 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.118e-06/0.004571, allocations: 0 / 0.5571 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.004576, allocations: 0 / 0.5571 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.009e-05/0.004616, allocations: 12 kB / 0.5571 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001495/0.004766, allocations: 128.7 kB / 0.5572 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002122/0.004978, allocations: 42.55 kB / 0.5573 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.273e-05/0.005011, allocations: 20.84 kB / 0.5573 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.005037, allocations: 4 kB / 0.5573 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.005069, allocations: 46.58 kB / 0.5573 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.005069, allocations: 0 / 0.5573 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.0006298/0.005699, allocations: 229.1 kB / 0.5576 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.005737, allocations: 55.41 kB / 0.5576 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.752e-05/0.005795, allocations: 97.86 kB / 0.5577 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.005809, allocations: 25.7 kB / 0.5577 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.342e-05/0.005842, allocations: 84.12 kB / 0.5578 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.169e-05/0.005874, allocations: 23.8 kB / 0.5578 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.217e-05/0.005906, allocations: 17.72 kB / 0.5578 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.272e-05/0.005989, allocations: 318.8 kB / 0.5582 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.809e-05/0.006007, allocations: 12 kB / 0.5582 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.827e-05/0.006025, allocations: 12 kB / 0.5582 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.84e-05/0.006074, allocations: 40.92 kB / 0.5582 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.006075, allocations: 4 kB / 0.5582 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.426e-05/0.006149, allocations: 65.61 kB / 0.5583 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.006163, allocations: 8 kB / 0.5583 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.006167, allocations: 0 / 0.5583 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.00618, allocations: 0 / 0.5583 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.808e-05/0.006218, allocations: 8 kB / 0.5583 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/0.006224, allocations: 0 / 0.5583 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.129e-05/0.006235, allocations: 8 kB / 0.5583 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.006241, allocations: 4 kB / 0.5583 GB, free: 14.33 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 (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 5.515e-05/0.006296, allocations: 113.8 kB / 0.5584 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.324e-06/0.006303, allocations: 3.938 kB / 0.5584 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/0.006414, allocations: 81.81 kB / 0.5585 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.006417, allocations: 4 kB / 0.5585 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.006421, allocations: 0 / 0.5585 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.006424, allocations: 0 / 0.5585 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002426/0.006667, allocations: 282.4 kB / 0.5588 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.006668, allocations: 0 / 0.5588 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.708e-05/0.006705, allocations: 16.03 kB / 0.5588 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.006707, allocations: 0 / 0.5588 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-06/0.006712, allocations: 3.938 kB / 0.5588 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.006715, allocations: 7.984 kB / 0.5588 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.006716, allocations: 0 / 0.5588 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/0.006847, allocations: 180.3 kB / 0.559 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.364e-05/0.006861, allocations: 7.938 kB / 0.559 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.006872, allocations: 4 kB / 0.559 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.036e-05/0.006912, allocations: 3.938 kB / 0.559 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.409e-05/0.006926, allocations: 4 kB / 0.559 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.00693, allocations: 4 kB / 0.559 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.618e-05/0.006956, allocations: 87.84 kB / 0.5591 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.006956, allocations: 0 / 0.5591 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001695/0.007126, allocations: 15.94 kB / 0.5591 GB, free: 13.44 MB / 0.5261 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.0003492/0.007475, allocations: 0.7327 MB / 0.5598 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 9.03e-05/0.007565, allocations: 28.23 kB / 0.5598 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.007567, allocations: 3.938 kB / 0.5598 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.679e-05/0.007584, allocations: 16 kB / 0.5599 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001677/0.007752, allocations: 8.5 kB / 0.5599 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009606/0.008712, allocations: 1.308 MB / 0.5611 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.357e-05/0.008766, allocations: 63.34 kB / 0.5612 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.718e-05/0.008793, allocations: 12.36 kB / 0.5612 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.519e-05/0.008828, allocations: 20.48 kB / 0.5612 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of SimCode: time 3.71e-07/0.008829, allocations: 0 / 0.5612 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01469/0.02352, allocations: 2.232 MB / 0.5634 GB, free: 9.094 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.341/7.364, allocations: 0 / 0.5634 GB, free: 9.094 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.780483572743833] Failed to read output from testmodel.py, exit status != 0: 7.442686672322452 7.457803911 7.452231696 Calling exit ...