Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001733/0.001733, allocations: 111.6 kB / 18.13 MB, free: 3.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 197.2 kB / 21.43 MB, free: 412 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 225.6 MB / 250.2 MB, free: 13.31 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.787/2.787, allocations: 476.7 MB / 0.7637 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00212/0.00212, allocations: 75.88 kB / 1.108 GB, free: 7.047 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9445/0.9467, allocations: 168.7 MB / 1.273 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002827/0.9495, allocations: 1.287 MB / 1.274 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001221/0.9507, allocations: 0.6189 MB / 1.275 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.006e-05/0.9507, allocations: 0 / 1.275 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.606e-05/0.9508, allocations: 3.984 kB / 1.275 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.32e-05/0.9508, allocations: 11.92 kB / 1.275 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006788/0.9515, allocations: 139.4 kB / 1.275 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.656e-05/0.9516, allocations: 23.92 kB / 1.275 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.363e-05/0.9516, allocations: 0 / 1.275 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.144e-05/0.9517, allocations: 11.92 kB / 1.275 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.271e-05/0.9517, allocations: 7.984 kB / 1.275 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.118e-05/0.9517, allocations: 0 / 1.275 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005776/0.9523, allocations: 343.3 kB / 1.275 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.799e-05/0.9523, allocations: 15.92 kB / 1.275 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.944e-05/0.9524, allocations: 7.938 kB / 1.275 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003109/0.9527, allocations: 145.3 kB / 1.275 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.9527, allocations: 4 kB / 1.275 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.453e-06/0.9527, allocations: 0 / 1.275 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.9527, allocations: 0 / 1.275 GB, free: 1.684 MB / 0.9669 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.0006735/0.9534, allocations: 363.1 kB / 1.276 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.419e-05/0.9534, allocations: 8.031 kB / 1.276 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.663e-05/0.9535, allocations: 34.75 kB / 1.276 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.235e-05/0.9535, allocations: 8.875 kB / 1.276 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.9537, allocations: 172.3 kB / 1.276 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.9537, allocations: 384 / 1.276 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.9537, allocations: 4.375 kB / 1.276 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.9538, allocations: 42.19 kB / 1.276 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.9538, allocations: 3.938 kB / 1.276 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.9538, allocations: 4 kB / 1.276 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.9538, allocations: 0 / 1.276 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.397e-05/0.9539, allocations: 8 kB / 1.276 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002166/0.9541, allocations: 165.6 kB / 1.276 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002098/0.9543, allocations: 42.61 kB / 1.276 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.159e-05/0.9544, allocations: 20.88 kB / 1.276 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.9544, allocations: 4 kB / 1.276 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.9544, allocations: 34.56 kB / 1.276 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.9544, allocations: 0 / 1.276 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0006933/0.9551, allocations: 306.3 kB / 1.277 GB, free: 268 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.9552, allocations: 51.41 kB / 1.277 GB, free: 204 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.816e-05/0.9552, allocations: 101.8 kB / 1.277 GB, free: 92 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.9553, allocations: 29.7 kB / 1.277 GB, free: 56 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.86e-05/0.9553, allocations: 80.14 kB / 1.277 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.227e-05/0.9554, allocations: 19.8 kB / 1.277 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.015e-05/0.9554, allocations: 25.7 kB / 1.277 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.9556, allocations: 310.8 kB / 1.277 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.844e-05/0.9556, allocations: 16 kB / 1.277 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.287e-05/0.9556, allocations: 11.98 kB / 1.277 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.406e-05/0.9557, allocations: 36.94 kB / 1.277 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.9557, allocations: 0 / 1.277 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001151/0.9558, allocations: 81.62 kB / 1.277 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.9558, allocations: 4 kB / 1.277 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.9558, allocations: 0 / 1.277 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.9558, allocations: 3.938 kB / 1.277 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.556e-05/0.9559, allocations: 12 kB / 1.277 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.9559, allocations: 0 / 1.277 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.035e-05/0.9559, allocations: 7.984 kB / 1.277 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.9559, allocations: 4 kB / 1.277 GB, free: 15.43 MB / 0.9825 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 0.000104/0.956, allocations: 113.8 kB / 1.277 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.387e-05/0.956, allocations: 11.88 kB / 1.277 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001617/0.9562, allocations: 65.66 kB / 1.277 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.9562, allocations: 0 / 1.277 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.9562, allocations: 0 / 1.277 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.9562, allocations: 3.984 kB / 1.277 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004073/0.9566, allocations: 323.4 kB / 1.278 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.9566, allocations: 0 / 1.278 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.096e-05/0.9567, allocations: 8 kB / 1.278 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.9567, allocations: 0 / 1.278 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.9567, allocations: 4 kB / 1.278 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.9567, allocations: 0 / 1.278 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.9567, allocations: 3.984 kB / 1.278 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/0.9569, allocations: 185.8 kB / 1.278 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.065e-05/0.957, allocations: 85.12 kB / 1.278 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.957, allocations: 0 / 1.278 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.314e-05/0.9571, allocations: 4.188 kB / 1.278 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.5e-05/0.9571, allocations: 4 kB / 1.278 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.9571, allocations: 8 kB / 1.278 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.531e-05/0.9571, allocations: 83.27 kB / 1.278 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9571, allocations: 0 / 1.278 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002496/0.9574, allocations: 20 kB / 1.278 GB, free: 14.41 MB / 0.9825 GB 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.0006287/0.958, allocations: 0.7448 MB / 1.279 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001169/0.9581, allocations: 31.98 kB / 1.279 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.9581, allocations: 0 / 1.279 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.058e-05/0.9582, allocations: 23.98 kB / 1.279 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002239/0.9584, allocations: 6.672 kB / 1.279 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/0.9599, allocations: 1.331 MB / 1.28 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.9603, allocations: 0.6807 MB / 1.281 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.296e-05/0.9603, allocations: 4 kB / 1.281 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.429e-05/0.9603, allocations: 15.44 kB / 1.281 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of SimCode: time 4e-07/0.9603, allocations: 3.938 kB / 1.281 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02747/0.9878, allocations: 1.599 MB / 1.283 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.261/9.249, allocations: 11.95 kB / 1.283 GB, free: 9.945 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.249745229259133] Failed to read output from testmodel.py, exit status != 0: 9.321118873078376 9.347776689 8.390359737 Calling exit ...