Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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.0009325/0.0009325, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008303/0.0008303, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8824/0.8824, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.5367/0.5367, allocations: 110.2 MB / 369.4 MB, free: 12.61 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_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.513e-06/1.513e-06, allocations: 0 / 0.5473 GB, free: 8.75 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.679e-05/1.83e-05, allocations: 2.281 kB / 0.5473 GB, free: 8.746 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001718/0.001736, allocations: 1.279 MB / 0.5485 GB, free: 7.457 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006736/0.00241, allocations: 0.5564 MB / 0.5491 GB, free: 6.898 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.293e-05/0.002433, allocations: 0 / 0.5491 GB, free: 6.898 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 1.918e-05/0.002452, allocations: 3.938 kB / 0.5491 GB, free: 6.895 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 3.42e-05/0.002486, allocations: 0 / 0.5491 GB, free: 6.895 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000419/0.002905, allocations: 158.9 kB / 0.5492 GB, free: 6.742 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 5.989e-05/0.002965, allocations: 19.92 kB / 0.5492 GB, free: 6.723 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.115e-05/0.003006, allocations: 8 kB / 0.5493 GB, free: 6.715 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.265e-05/0.003059, allocations: 19.91 kB / 0.5493 GB, free: 6.695 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.306e-05/0.003102, allocations: 8 kB / 0.5493 GB, free: 6.688 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.003116, allocations: 0 / 0.5493 GB, free: 6.688 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002747/0.00339, allocations: 267.4 kB / 0.5495 GB, free: 6.426 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 1.501e-05/0.003405, allocations: 4 kB / 0.5495 GB, free: 6.422 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 1.903e-05/0.003424, allocations: 7.984 kB / 0.5495 GB, free: 6.414 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001881/0.003612, allocations: 155.5 kB / 0.5497 GB, free: 6.262 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.003616, allocations: 0 / 0.5497 GB, free: 6.262 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.003617, allocations: 0 / 0.5497 GB, free: 6.262 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.003623, allocations: 3.984 kB / 0.5497 GB, free: 6.258 MB / 474.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.0003352/0.003958, allocations: 294 kB / 0.55 GB, free: 5.938 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.003998, allocations: 8.625 kB / 0.55 GB, free: 5.93 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.856e-05/0.004027, allocations: 30.75 kB / 0.55 GB, free: 5.891 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.794e-05/0.004054, allocations: 4.938 kB / 0.55 GB, free: 5.887 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.532e-05/0.00413, allocations: 113.7 kB / 0.5501 GB, free: 5.75 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.004139, allocations: 384 / 0.5501 GB, free: 5.75 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.004158, allocations: 4.375 kB / 0.5501 GB, free: 5.746 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.004272, allocations: 67.95 kB / 0.5502 GB, free: 5.668 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.161e-06/0.004278, allocations: 8.062 kB / 0.5502 GB, free: 5.66 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.884e-06/0.004286, allocations: 4.312 kB / 0.5502 GB, free: 5.656 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.004292, allocations: 8.125 kB / 0.5502 GB, free: 5.648 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.595e-05/0.004328, allocations: 12 kB / 0.5502 GB, free: 5.637 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001328/0.004461, allocations: 128.8 kB / 0.5504 GB, free: 5.469 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.004641, allocations: 42.56 kB / 0.5504 GB, free: 5.418 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.632e-05/0.004667, allocations: 16.86 kB / 0.5504 GB, free: 5.398 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.889e-05/0.004686, allocations: 0 / 0.5504 GB, free: 5.398 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.004707, allocations: 34.59 kB / 0.5504 GB, free: 5.355 MB / 474.7 MB Notification: Performance of pre-optimization done (n=4): time 1.133e-06/0.004709, allocations: 0 / 0.5504 GB, free: 5.355 MB / 474.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005166/0.005225, allocations: 229.2 kB / 0.5507 GB, free: 5.098 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.005256, allocations: 55.41 kB / 0.5507 GB, free: 5.031 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.031e-05/0.005307, allocations: 102.2 kB / 0.5508 GB, free: 4.922 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.005317, allocations: 25.7 kB / 0.5508 GB, free: 4.891 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.449e-05/0.005342, allocations: 84.14 kB / 0.5509 GB, free: 4.805 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/0.005366, allocations: 23.78 kB / 0.5509 GB, free: 4.781 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.937e-05/0.005396, allocations: 21.72 kB / 0.551 GB, free: 4.754 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.15e-05/0.005477, allocations: 318.8 kB / 0.5513 GB, free: 4.434 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.037e-05/0.005498, allocations: 8 kB / 0.5513 GB, free: 4.426 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.581e-05/0.005513, allocations: 11.98 kB / 0.5513 GB, free: 4.414 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.697e-05/0.00556, allocations: 36.84 kB / 0.5513 GB, free: 4.375 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.005561, allocations: 0 / 0.5513 GB, free: 4.375 MB / 474.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.92e-05/0.005631, allocations: 69.59 kB / 0.5514 GB, free: 4.301 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.005643, allocations: 6.5 kB / 0.5514 GB, free: 4.297 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.005648, allocations: 3.984 kB / 0.5514 GB, free: 4.293 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.00566, allocations: 11.88 kB / 0.5514 GB, free: 4.281 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.752e-05/0.005698, allocations: 8 kB / 0.5514 GB, free: 4.273 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.005703, allocations: 0 / 0.5514 GB, free: 4.273 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.082e-05/0.005714, allocations: 0 / 0.5514 GB, free: 4.273 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.005721, allocations: 8 kB / 0.5514 GB, free: 4.266 MB / 474.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.82e-05/0.005769, allocations: 105.8 kB / 0.5515 GB, free: 4.152 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.953e-06/0.005776, allocations: 4 kB / 0.5515 GB, free: 4.148 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.814e-05/0.005874, allocations: 77.73 kB / 0.5516 GB, free: 4.066 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.005877, allocations: 7.938 kB / 0.5516 GB, free: 4.059 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.005882, allocations: 4 kB / 0.5516 GB, free: 4.055 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.005885, allocations: 0 / 0.5516 GB, free: 4.055 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002214/0.006106, allocations: 282.4 kB / 0.5519 GB, free: 3.727 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.006109, allocations: 3.938 kB / 0.5519 GB, free: 3.723 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.125e-05/0.00615, allocations: 12.19 kB / 0.5519 GB, free: 3.711 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.006152, allocations: 0 / 0.5519 GB, free: 3.711 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.006159, allocations: 4 kB / 0.5519 GB, free: 3.707 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.006161, allocations: 0 / 0.5519 GB, free: 3.707 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.006165, allocations: 7.984 kB / 0.5519 GB, free: 3.699 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.006286, allocations: 180.3 kB / 0.5521 GB, free: 3.504 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.744e-05/0.006304, allocations: 11.95 kB / 0.5521 GB, free: 3.492 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.997e-06/0.006313, allocations: 0 / 0.5521 GB, free: 3.492 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.229e-05/0.006355, allocations: 4 kB / 0.5521 GB, free: 3.488 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.223e-05/0.006367, allocations: 4 kB / 0.5521 GB, free: 3.484 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.006374, allocations: 4 kB / 0.5521 GB, free: 3.48 MB / 474.7 MB Notification: Performance of sorting global known variables: time 2.321e-05/0.006397, allocations: 79.27 kB / 0.5522 GB, free: 3.402 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.006397, allocations: 4 kB / 0.5522 GB, free: 3.398 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0001654/0.006562, allocations: 19.94 kB / 0.5522 GB, free: 3.379 MB / 474.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.0003605/0.006923, allocations: 0.7495 MB / 0.5529 GB, free: 2.602 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 7.793e-05/0.007001, allocations: 27.98 kB / 0.553 GB, free: 2.574 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.007003, allocations: 0 / 0.553 GB, free: 2.574 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.758e-05/0.007021, allocations: 19.94 kB / 0.553 GB, free: 2.555 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000159/0.00718, allocations: 7.938 kB / 0.553 GB, free: 2.547 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008365/0.008016, allocations: 1.31 MB / 0.5543 GB, free: 1.148 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.899e-05/0.008065, allocations: 63.34 kB / 0.5543 GB, free: 1.066 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 2.538e-05/0.00809, allocations: 4 kB / 0.5543 GB, free: 1.062 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.358e-05/0.008124, allocations: 20.48 kB / 0.5544 GB, free: 1.043 MB / 474.7 MB Notification: Performance of SimCode: time 6.31e-07/0.008125, allocations: 0 / 0.5544 GB, free: 1.043 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01758/0.02571, allocations: 2.273 MB / 0.5566 GB, free: 14.97 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.887/6.913, allocations: 10.23 kB / 0.5566 GB, free: 14.96 MB / 490.7 MB " [Timeout remaining time 653] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.284055686555803] Failed to read output from testmodel.py, exit status != 0: 6.993246323429048 7.002364086 6.997031962 Calling exit ...