Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.0007518/0.0007518, 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.0008057/0.0008057, 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.8754/0.8754, 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.5616/0.5616, allocations: 114 MB / 373.9 MB, free: 8.699 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_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.5542 GB, free: 2.773 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.722e-05/1.886e-05, allocations: 5.781 kB / 0.5542 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001813/0.001832, allocations: 1.303 MB / 0.5555 GB, free: 1.461 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0006749/0.002507, allocations: 0.5409 MB / 0.556 GB, free: 0.918 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.469e-05/0.002531, allocations: 0 / 0.556 GB, free: 0.918 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.8e-05/0.002549, allocations: 3.938 kB / 0.556 GB, free: 0.9141 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 3.491e-05/0.002584, allocations: 7.922 kB / 0.556 GB, free: 0.9062 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004646/0.003049, allocations: 150.6 kB / 0.5561 GB, free: 0.7617 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 5.679e-05/0.003106, allocations: 31.84 kB / 0.5562 GB, free: 0.7305 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.967e-05/0.003145, allocations: 0 / 0.5562 GB, free: 0.7305 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 3.397e-05/0.003179, allocations: 19.98 kB / 0.5562 GB, free: 0.7109 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.239e-05/0.003232, allocations: 15.92 kB / 0.5562 GB, free: 0.6953 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.003245, allocations: 3.984 kB / 0.5562 GB, free: 0.6914 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002698/0.003515, allocations: 271.4 kB / 0.5565 GB, free: 436 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.44e-05/0.00353, allocations: 3.938 kB / 0.5565 GB, free: 432 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.779e-05/0.003547, allocations: 8 kB / 0.5565 GB, free: 424 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001827/0.00373, allocations: 167.5 kB / 0.5566 GB, free: 256 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.003732, allocations: 0 / 0.5566 GB, free: 256 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.232e-06/0.003733, allocations: 0 / 0.5566 GB, free: 256 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.003737, allocations: 0 / 0.5566 GB, free: 256 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003217/0.004058, allocations: 290 kB / 0.5569 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.004098, allocations: 12.62 kB / 0.5569 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.961e-05/0.004127, allocations: 42.75 kB / 0.557 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.711e-05/0.004155, allocations: 4.891 kB / 0.557 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.329e-05/0.004228, allocations: 109.7 kB / 0.5571 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.004237, allocations: 384 / 0.5571 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/0.004259, allocations: 8.375 kB / 0.5571 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.004385, allocations: 105.4 kB / 0.5572 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.004395, allocations: 0 / 0.5572 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.004404, allocations: 4 kB / 0.5572 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.004409, allocations: 4 kB / 0.5572 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.205e-05/0.004451, allocations: 15.98 kB / 0.5572 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001351/0.004586, allocations: 140.7 kB / 0.5573 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.832e-05/0.004674, allocations: 62.44 kB / 0.5574 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.339e-05/0.004708, allocations: 28.84 kB / 0.5574 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.004728, allocations: 4 kB / 0.5574 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.004749, allocations: 34.5 kB / 0.5575 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 9.31e-07/0.00475, allocations: 0 / 0.5575 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.0007699/0.00552, allocations: 451.6 kB / 0.5579 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.603e-05/0.005546, allocations: 51.41 kB / 0.558 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.711e-05/0.005593, allocations: 101.8 kB / 0.558 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.005604, allocations: 25.7 kB / 0.5581 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.506e-05/0.005629, allocations: 80.14 kB / 0.5582 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.992e-05/0.005659, allocations: 43.64 kB / 0.5582 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.083e-05/0.00569, allocations: 25.72 kB / 0.5582 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.055e-05/0.00576, allocations: 318.8 kB / 0.5585 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.756e-05/0.005788, allocations: 20 kB / 0.5585 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.654e-05/0.005814, allocations: 23.92 kB / 0.5586 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.674e-05/0.005881, allocations: 68.97 kB / 0.5586 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.005882, allocations: 0 / 0.5586 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13) (initialization): time 8.936e-05/0.005971, allocations: 96.25 kB / 0.5587 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.005982, allocations: 4 kB / 0.5587 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.005986, allocations: 0 / 0.5587 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.005997, allocations: 0 / 0.5587 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.206e-05/0.006069, allocations: 31.92 kB / 0.5588 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.006073, allocations: 0 / 0.5588 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.266e-05/0.006086, allocations: 0 / 0.5588 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.006092, allocations: 4 kB / 0.5588 GB, free: 13.83 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 5.269e-05/0.006145, allocations: 117.8 kB / 0.5589 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.117e-06/0.006154, allocations: 11.89 kB / 0.5589 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001359/0.00629, allocations: 114 kB / 0.559 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.006291, allocations: 0 / 0.559 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.006295, allocations: 0 / 0.559 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.006299, allocations: 7.938 kB / 0.559 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00027/0.006569, allocations: 312.4 kB / 0.5593 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.006569, allocations: 0 / 0.5593 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.368e-05/0.006633, allocations: 23.98 kB / 0.5593 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.006635, allocations: 0 / 0.5593 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.006642, allocations: 4 kB / 0.5593 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.006643, allocations: 7.938 kB / 0.5593 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.006644, allocations: 0 / 0.5593 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001639/0.006808, allocations: 215.4 kB / 0.5595 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.184e-06/0.006815, allocations: 7.984 kB / 0.5595 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.006826, allocations: 4 kB / 0.5595 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.897e-05/0.006875, allocations: 8.078 kB / 0.5596 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.478e-05/0.00689, allocations: 7.922 kB / 0.5596 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.006897, allocations: 8 kB / 0.5596 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.365e-05/0.006921, allocations: 79.28 kB / 0.5596 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006921, allocations: 0 / 0.5596 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000177/0.007098, allocations: 40.03 kB / 0.5597 GB, free: 12.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (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.0004109/0.007509, allocations: 0.7786 MB / 0.5604 GB, free: 12 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000112/0.007621, allocations: 63.91 kB / 0.5605 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.007622, allocations: 0 / 0.5605 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.877e-05/0.007651, allocations: 31.92 kB / 0.5605 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001612/0.007812, allocations: 10.97 kB / 0.5605 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.008818, allocations: 1.469 MB / 0.562 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.985e-05/0.008868, allocations: 71.41 kB / 0.562 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.177e-05/0.0089, allocations: 11.98 kB / 0.5621 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.279e-05/0.008933, allocations: 16.5 kB / 0.5621 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of SimCode: time 4.51e-07/0.008933, allocations: 0 / 0.5621 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01505/0.02398, allocations: 2.699 MB / 0.5647 GB, free: 7.754 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.984/7.008, allocations: 7.328 kB / 0.5647 GB, free: 7.75 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.452941720373929] Failed to read output from testmodel.py, exit status != 0: 7.087343983352184 7.096492566 7.091002956 Calling exit ...