Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_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.0008478/0.0008478, allocations: 81.69 kB / 19.27 MB, free: 0.5898 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.0009314/0.0009314, allocations: 166 kB / 22.58 MB, free: 1.93 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.8729/0.8729, allocations: 177.1 MB / 202.9 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.678/1.678, allocations: 390.1 MB / 0.6342 GB, free: 11.58 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.703e-05/1.871e-05, allocations: 2.312 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2): time 0.001568/0.001587, allocations: 1.39 MB / 1.003 GB, free: 9.938 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008667/0.002453, allocations: 0.8646 MB / 1.004 GB, free: 9.07 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.415e-05/0.002487, allocations: 0 / 1.004 GB, free: 9.07 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.725e-05/0.002505, allocations: 3.938 kB / 1.004 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.603e-05/0.002551, allocations: 15.84 kB / 1.004 GB, free: 9.051 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004631/0.003014, allocations: 230.8 kB / 1.004 GB, free: 8.824 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.474e-05/0.003089, allocations: 51.72 kB / 1.004 GB, free: 8.773 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.025e-05/0.003129, allocations: 3.984 kB / 1.004 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.36e-05/0.003172, allocations: 35.95 kB / 1.004 GB, free: 8.734 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.695e-05/0.003229, allocations: 15.92 kB / 1.004 GB, free: 8.719 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.003243, allocations: 8 kB / 1.004 GB, free: 8.711 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003592/0.003602, allocations: 383.4 kB / 1.005 GB, free: 8.336 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.595e-05/0.003618, allocations: 7.984 kB / 1.005 GB, free: 8.328 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.399e-05/0.003642, allocations: 15.94 kB / 1.005 GB, free: 8.312 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002874/0.00393, allocations: 307.1 kB / 1.005 GB, free: 8.012 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.003932, allocations: 0 / 1.005 GB, free: 8.012 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.12e-07/0.003933, allocations: 0 / 1.005 GB, free: 8.012 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.003936, allocations: 0 / 1.005 GB, free: 8.012 MB / 0.9636 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.0003708/0.004307, allocations: 361.2 kB / 1.005 GB, free: 7.625 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.004344, allocations: 8.031 kB / 1.005 GB, free: 7.617 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.969e-05/0.004374, allocations: 38.75 kB / 1.005 GB, free: 7.57 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001567/0.004531, allocations: 32.86 kB / 1.005 GB, free: 7.539 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.875e-05/0.004599, allocations: 105.8 kB / 1.006 GB, free: 7.41 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.004617, allocations: 384 / 1.006 GB, free: 7.41 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.935e-05/0.004636, allocations: 8.375 kB / 1.006 GB, free: 7.402 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.004768, allocations: 113.6 kB / 1.006 GB, free: 7.273 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.004777, allocations: 192 / 1.006 GB, free: 7.273 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.004786, allocations: 4.312 kB / 1.006 GB, free: 7.27 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.004792, allocations: 4.125 kB / 1.006 GB, free: 7.266 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.09e-05/0.004873, allocations: 35.91 kB / 1.006 GB, free: 7.23 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001289/0.005002, allocations: 160.6 kB / 1.006 GB, free: 7.031 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001461/0.005148, allocations: 78.53 kB / 1.006 GB, free: 6.945 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.247e-05/0.0052, allocations: 36.83 kB / 1.006 GB, free: 6.906 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.005214, allocations: 4 kB / 1.006 GB, free: 6.902 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/0.005232, allocations: 30.56 kB / 1.006 GB, free: 6.863 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.005233, allocations: 0 / 1.006 GB, free: 6.863 MB / 0.9636 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: m_flow Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.002711/0.007944, allocations: 0.9673 MB / 1.007 GB, free: 5.84 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.545e-05/0.00797, allocations: 51.41 kB / 1.007 GB, free: 5.777 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003238/0.008293, allocations: 129.8 kB / 1.007 GB, free: 5.641 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.887e-05/0.008312, allocations: 25.7 kB / 1.007 GB, free: 5.609 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.078e-05/0.008343, allocations: 88.42 kB / 1.007 GB, free: 5.516 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.282e-05/0.008376, allocations: 39.64 kB / 1.007 GB, free: 5.477 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.61e-05/0.008432, allocations: 41.69 kB / 1.007 GB, free: 5.43 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.681e-05/0.008509, allocations: 322.8 kB / 1.008 GB, free: 5.105 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.008651, allocations: 87.89 kB / 1.008 GB, free: 5.02 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.008778, allocations: 87.94 kB / 1.008 GB, free: 4.934 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002597/0.009038, allocations: 183.5 kB / 1.008 GB, free: 4.754 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.009039, allocations: 0 / 1.008 GB, free: 4.754 MB / 0.9636 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003274/0.009366, allocations: 233.5 kB / 1.008 GB, free: 4.52 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.009377, allocations: 4 kB / 1.008 GB, free: 4.516 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.00939, allocations: 11.92 kB / 1.008 GB, free: 4.504 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.0094, allocations: 4 kB / 1.008 GB, free: 4.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.009542, allocations: 35.91 kB / 1.008 GB, free: 4.465 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.009547, allocations: 4 kB / 1.008 GB, free: 4.461 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.395e-05/0.00962, allocations: 7.984 kB / 1.008 GB, free: 4.453 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.009634, allocations: 4 kB / 1.008 GB, free: 4.449 MB / 0.9636 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 7.142e-05/0.009705, allocations: 117.8 kB / 1.008 GB, free: 4.324 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.661e-05/0.009722, allocations: 7.953 kB / 1.008 GB, free: 4.316 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.99e-05/0.009752, allocations: 20.38 kB / 1.008 GB, free: 4.301 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.009753, allocations: 0 / 1.008 GB, free: 4.301 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.009757, allocations: 0 / 1.008 GB, free: 4.301 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.00976, allocations: 0 / 1.008 GB, free: 4.301 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005277/0.01029, allocations: 433.3 kB / 1.009 GB, free: 3.828 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.01029, allocations: 0 / 1.009 GB, free: 3.828 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001338/0.01042, allocations: 39.97 kB / 1.009 GB, free: 3.789 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.01043, allocations: 0 / 1.009 GB, free: 3.789 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.01044, allocations: 7.984 kB / 1.009 GB, free: 3.781 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.01044, allocations: 4 kB / 1.009 GB, free: 3.777 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.01044, allocations: 0 / 1.009 GB, free: 3.777 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004706/0.01091, allocations: 371.8 kB / 1.009 GB, free: 3.398 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.334e-06/0.01092, allocations: 7.984 kB / 1.009 GB, free: 3.391 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.01094, allocations: 4 kB / 1.009 GB, free: 3.387 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.01104, allocations: 11.98 kB / 1.009 GB, free: 3.375 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.295e-05/0.01107, allocations: 7.984 kB / 1.009 GB, free: 3.367 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.01108, allocations: 12.05 kB / 1.009 GB, free: 3.355 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.37e-05/0.01111, allocations: 99.31 kB / 1.009 GB, free: 3.258 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01111, allocations: 0 / 1.009 GB, free: 3.258 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001865/0.0113, allocations: 36 kB / 1.009 GB, free: 3.223 MB / 0.9636 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.000675/0.01198, allocations: 0.9113 MB / 1.01 GB, free: 2.281 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003359/0.01231, allocations: 201.6 kB / 1.01 GB, free: 2.078 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01231, allocations: 0 / 1.01 GB, free: 2.078 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.01244, allocations: 75.89 kB / 1.01 GB, free: 2.004 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.01266, allocations: 11.98 kB / 1.011 GB, free: 1.992 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001993/0.01465, allocations: 2.034 MB / 1.012 GB, free: 15.88 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.358e-05/0.0147, allocations: 75.33 kB / 1.013 GB, free: 15.78 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 8.619e-05/0.01478, allocations: 24.72 kB / 1.013 GB, free: 15.76 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.724e-05/0.01486, allocations: 24.48 kB / 1.013 GB, free: 15.73 MB / 0.9792 GB Notification: Performance of SimCode: time 6.71e-07/0.01486, allocations: 0 / 1.013 GB, free: 15.73 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01607/0.03093, allocations: 4.331 MB / 1.017 GB, free: 11.64 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.527/6.558, allocations: 7.922 kB / 1.017 GB, free: 11.63 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_m_flow_DerivativeCheck2.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 10.401738583110273] Failed to read output from testmodel.py, exit status != 0: 6.63809334859252 6.652730977 6.646108577 Calling exit ...