Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.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.0008918/0.0008918, 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.0009178/0.0009178, allocations: 170.3 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.8405/0.8405, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.645/1.645, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.414e-06/2.414e-06, allocations: 0 / 0.9505 GB, free: 2.359 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.635e-05/2.876e-05, allocations: 2.281 kB / 0.9505 GB, free: 2.355 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002864/0.002893, allocations: 1.475 MB / 0.9519 GB, free: 0.8594 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0008448/0.003738, allocations: 0.5804 MB / 0.9525 GB, free: 284 kB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.204e-05/0.00379, allocations: 0 / 0.9525 GB, free: 284 kB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.485e-05/0.003825, allocations: 3.938 kB / 0.9525 GB, free: 280 kB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 4.884e-05/0.003873, allocations: 0 / 0.9525 GB, free: 280 kB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006945/0.004568, allocations: 160.4 kB / 0.9527 GB, free: 120 kB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.004674, allocations: 55.83 kB / 0.9527 GB, free: 64 kB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 6.606e-05/0.00474, allocations: 8 kB / 0.9527 GB, free: 56 kB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 9.346e-05/0.004834, allocations: 31.91 kB / 0.9528 GB, free: 24 kB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 3.877e-05/0.004873, allocations: 19.97 kB / 0.9528 GB, free: 4 kB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.215e-05/0.004905, allocations: 7.984 kB / 0.9528 GB, free: 15.99 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003621/0.005267, allocations: 271.4 kB / 0.953 GB, free: 15.73 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 2.706e-05/0.005294, allocations: 19.91 kB / 0.9531 GB, free: 15.71 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 3.131e-05/0.005325, allocations: 15.98 kB / 0.9531 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002901/0.005615, allocations: 195.3 kB / 0.9533 GB, free: 15.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.005619, allocations: 0 / 0.9533 GB, free: 15.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.164e-06/0.005621, allocations: 0 / 0.9533 GB, free: 15.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.005627, allocations: 4 kB / 0.9533 GB, free: 15.5 MB / 0.8698 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.0005021/0.006129, allocations: 329.7 kB / 0.9536 GB, free: 15.14 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.006176, allocations: 12.03 kB / 0.9536 GB, free: 15.13 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.593e-05/0.006212, allocations: 38.73 kB / 0.9536 GB, free: 15.09 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.39e-05/0.006246, allocations: 4.938 kB / 0.9536 GB, free: 15.08 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003669/0.006613, allocations: 113.7 kB / 0.9537 GB, free: 14.95 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.00664, allocations: 8.375 kB / 0.9538 GB, free: 14.94 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/0.006661, allocations: 4.375 kB / 0.9538 GB, free: 14.93 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/0.006871, allocations: 129.6 kB / 0.9539 GB, free: 14.79 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.006882, allocations: 4.188 kB / 0.9539 GB, free: 14.79 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.006896, allocations: 12.3 kB / 0.9539 GB, free: 14.77 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.034e-06/0.006903, allocations: 8.125 kB / 0.9539 GB, free: 14.77 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001283/0.007031, allocations: 46.72 kB / 0.954 GB, free: 14.72 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004767/0.007508, allocations: 279.8 kB / 0.9542 GB, free: 14.41 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/0.007687, allocations: 78.47 kB / 0.9543 GB, free: 14.32 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.709e-05/0.007744, allocations: 28.84 kB / 0.9543 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/0.007771, allocations: 4 kB / 0.9543 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.007798, allocations: 34.56 kB / 0.9544 GB, free: 14.24 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.854e-06/0.0078, allocations: 0 / 0.9544 GB, free: 14.24 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.001205/0.009005, allocations: 0.5035 MB / 0.9549 GB, free: 13.68 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.009048, allocations: 51.41 kB / 0.9549 GB, free: 13.62 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.816e-05/0.009126, allocations: 105.8 kB / 0.955 GB, free: 13.51 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.009142, allocations: 25.7 kB / 0.955 GB, free: 13.48 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.488e-05/0.009197, allocations: 96.03 kB / 0.9551 GB, free: 13.38 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.609e-05/0.009243, allocations: 47.62 kB / 0.9552 GB, free: 13.33 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.624e-05/0.009289, allocations: 29.7 kB / 0.9552 GB, free: 13.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.009394, allocations: 322.7 kB / 0.9555 GB, free: 12.97 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.323e-05/0.009478, allocations: 35.97 kB / 0.9555 GB, free: 12.94 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.872e-05/0.009546, allocations: 35.92 kB / 0.9556 GB, free: 12.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.009691, allocations: 68.83 kB / 0.9556 GB, free: 12.83 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.009693, allocations: 0 / 0.9556 GB, free: 12.83 MB / 0.8698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001909/0.009884, allocations: 117.8 kB / 0.9557 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.009904, allocations: 4 kB / 0.9557 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.009911, allocations: 0 / 0.9557 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.009927, allocations: 4 kB / 0.9558 GB, free: 12.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.01003, allocations: 35.91 kB / 0.9558 GB, free: 12.67 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.01004, allocations: 3.984 kB / 0.9558 GB, free: 12.66 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.048e-05/0.01007, allocations: 4 kB / 0.9558 GB, free: 12.66 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.01007, allocations: 4 kB / 0.9558 GB, free: 12.66 MB / 0.8698 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 6.989e-05/0.01014, allocations: 117.8 kB / 0.9559 GB, free: 12.53 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.928e-05/0.01016, allocations: 7.953 kB / 0.9559 GB, free: 12.52 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002531/0.01042, allocations: 133.7 kB / 0.956 GB, free: 12.39 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.01042, allocations: 11.94 kB / 0.9561 GB, free: 12.38 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.01043, allocations: 0 / 0.9561 GB, free: 12.38 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.01043, allocations: 0 / 0.9561 GB, free: 12.38 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003712/0.0108, allocations: 345.6 kB / 0.9564 GB, free: 11.99 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.0108, allocations: 0 / 0.9564 GB, free: 11.99 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.981e-05/0.01089, allocations: 23.98 kB / 0.9564 GB, free: 11.96 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.0109, allocations: 3.938 kB / 0.9564 GB, free: 11.96 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.0109, allocations: 0 / 0.9564 GB, free: 11.96 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.01091, allocations: 4 kB / 0.9564 GB, free: 11.96 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/0.01091, allocations: 7.938 kB / 0.9564 GB, free: 11.95 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003359/0.01125, allocations: 248.5 kB / 0.9567 GB, free: 11.69 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.278e-05/0.01126, allocations: 7.984 kB / 0.9567 GB, free: 11.68 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.01127, allocations: 0 / 0.9567 GB, free: 11.68 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.249e-05/0.01134, allocations: 11.98 kB / 0.9567 GB, free: 11.67 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.568e-05/0.01136, allocations: 11.92 kB / 0.9567 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.01137, allocations: 4 kB / 0.9567 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.86e-05/0.01141, allocations: 83.28 kB / 0.9568 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01141, allocations: 0 / 0.9568 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002315/0.01164, allocations: 43.92 kB / 0.9568 GB, free: 11.53 MB / 0.8698 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.0006982/0.01234, allocations: 0.8176 MB / 0.9576 GB, free: 10.69 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002101/0.01255, allocations: 84.5 kB / 0.9577 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.01255, allocations: 0 / 0.9577 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 7.307e-05/0.01263, allocations: 39.92 kB / 0.9577 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.01292, allocations: 19.98 kB / 0.9578 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/0.01452, allocations: 1.548 MB / 0.9593 GB, free: 8.922 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.377e-05/0.01458, allocations: 79.33 kB / 0.9593 GB, free: 8.824 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 5.292e-05/0.01463, allocations: 12.67 kB / 0.9594 GB, free: 8.812 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.378e-05/0.01469, allocations: 28.48 kB / 0.9594 GB, free: 8.785 MB / 0.8698 GB Notification: Performance of SimCode: time 1.303e-06/0.01469, allocations: 0 / 0.9594 GB, free: 8.785 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01889/0.03358, allocations: 3.004 MB / 0.9623 GB, free: 6.004 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.212/7.245, allocations: 15.84 kB / 0.9623 GB, free: 5.992 MB / 0.8698 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 11.08818007260561] Failed to read output from testmodel.py, exit status != 0: 7.329482859931886 7.336428498 7.329025051 Calling exit ...