Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.001865/0.001865, allocations: 114.7 kB / 17.6 MB, free: 4.699 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.00207/0.00207, allocations: 186 kB / 20.78 MB, free: 1.539 MB / 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.504/1.504, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.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.792/2.792, allocations: 476.7 MB / 0.7629 GB, free: 15.15 MB / 0.6075 GB " [Timeout remaining time 176] 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.InverseFlowFunctions,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002195/0.002195, allocations: 63.89 kB / 1.107 GB, free: 5.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.209/1.211, allocations: 168.7 MB / 1.272 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002911/1.214, allocations: 1.302 MB / 1.273 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00117/1.216, allocations: 0.599 MB / 1.273 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.773e-05/1.216, allocations: 0.9688 kB / 1.273 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.031e-05/1.216, allocations: 0.6094 kB / 1.273 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.695e-05/1.216, allocations: 5.562 kB / 1.273 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006224/1.216, allocations: 149.7 kB / 1.274 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.643e-05/1.216, allocations: 19.94 kB / 1.274 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.416e-05/1.216, allocations: 3 kB / 1.274 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.865e-05/1.216, allocations: 13.48 kB / 1.274 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.243e-05/1.216, allocations: 6.266 kB / 1.274 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/1.217, allocations: 5.594 kB / 1.274 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000629/1.217, allocations: 345.4 kB / 1.274 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.461e-05/1.217, allocations: 8.781 kB / 1.274 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.728e-05/1.217, allocations: 5.406 kB / 1.274 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000296/1.217, allocations: 151.8 kB / 1.274 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/1.217, allocations: 0 / 1.274 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.443e-06/1.217, allocations: 0.8438 kB / 1.274 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.212e-06/1.217, allocations: 0 / 1.274 GB, free: 6.105 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000416/1.218, allocations: 361.8 kB / 1.274 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/1.218, allocations: 9.406 kB / 1.274 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.242e-05/1.218, allocations: 33.06 kB / 1.274 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.792e-05/1.218, allocations: 6.125 kB / 1.274 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.962e-05/1.218, allocations: 168.3 kB / 1.275 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/1.218, allocations: 5.094 kB / 1.275 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.938e-06/1.218, allocations: 2 kB / 1.275 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/1.218, allocations: 44.73 kB / 1.275 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/1.218, allocations: 3.938 kB / 1.275 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/1.218, allocations: 4.719 kB / 1.275 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/1.218, allocations: 0.8438 kB / 1.275 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.964e-05/1.218, allocations: 16.38 kB / 1.275 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002953/1.219, allocations: 247.5 kB / 1.275 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/1.219, allocations: 48.81 kB / 1.275 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.632e-05/1.219, allocations: 21.3 kB / 1.275 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/1.219, allocations: 5.906 kB / 1.275 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.72e-05/1.219, allocations: 31.56 kB / 1.275 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/1.219, allocations: 0 / 1.275 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0001885/1.219, allocations: 57.19 kB / 1.275 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/1.219, allocations: 52.47 kB / 1.275 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.979e-05/1.219, allocations: 94.58 kB / 1.275 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.333e-06/1.219, allocations: 25.7 kB / 1.275 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.167e-05/1.219, allocations: 94.03 kB / 1.275 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.175e-05/1.219, allocations: 11.66 kB / 1.275 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.209e-05/1.219, allocations: 19.02 kB / 1.275 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.636e-05/1.219, allocations: 312.6 kB / 1.276 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.323e-05/1.219, allocations: 13.84 kB / 1.276 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.039e-05/1.219, allocations: 17.98 kB / 1.276 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.348e-05/1.219, allocations: 29.31 kB / 1.276 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/1.219, allocations: 7.938 kB / 1.276 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.32e-05/1.22, allocations: 60.08 kB / 1.276 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/1.22, allocations: 5.781 kB / 1.276 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/1.22, allocations: 48 / 1.276 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/1.22, allocations: 13.03 kB / 1.276 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.771e-05/1.22, allocations: 6.469 kB / 1.276 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/1.22, allocations: 0.9688 kB / 1.276 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.252e-05/1.22, allocations: 1.188 kB / 1.276 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/1.22, allocations: 1.906 kB / 1.276 GB, free: 4.289 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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.98e-05/1.22, allocations: 120.1 kB / 1.276 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.564e-05/1.22, allocations: 9.797 kB / 1.276 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001544/1.22, allocations: 66.67 kB / 1.276 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/1.22, allocations: 1.125 kB / 1.276 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/1.22, allocations: 0 / 1.276 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/1.22, allocations: 128 / 1.276 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/1.22, allocations: 166.5 kB / 1.276 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/1.22, allocations: 2.172 kB / 1.276 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.431e-05/1.22, allocations: 5.188 kB / 1.276 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/1.22, allocations: 7.781 kB / 1.276 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/1.22, allocations: 1 kB / 1.276 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/1.22, allocations: 0 / 1.276 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/1.22, allocations: 1.031 kB / 1.276 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/1.22, allocations: 149.1 kB / 1.276 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.438e-05/1.22, allocations: 79.66 kB / 1.276 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/1.22, allocations: 0.9688 kB / 1.276 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.721e-05/1.22, allocations: 0.9375 kB / 1.276 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.777e-05/1.22, allocations: 7.094 kB / 1.276 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/1.22, allocations: 2.25 kB / 1.276 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.763e-05/1.22, allocations: 82.62 kB / 1.276 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.22, allocations: 0 / 1.276 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002568/1.221, allocations: 17.81 kB / 1.276 GB, free: 3.57 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (4): * Single equations (assignments): 4 * 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.0004111/1.221, allocations: 0.714 MB / 1.277 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001269/1.221, allocations: 24.05 kB / 1.277 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/1.221, allocations: 0 / 1.277 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.624e-05/1.221, allocations: 14.94 kB / 1.277 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002186/1.221, allocations: 1.531 kB / 1.277 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004872/1.222, allocations: 171.8 kB / 1.277 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001495/1.222, allocations: 0.6745 MB / 1.278 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.183e-05/1.222, allocations: 8.047 kB / 1.278 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.309e-05/1.222, allocations: 10.64 kB / 1.278 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of SimCode: time 3.21e-07/1.222, allocations: 0.6875 kB / 1.278 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02717/1.249, allocations: 1.38 MB / 1.279 GB, free: 17.61 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.26/9.509, allocations: 18.97 kB / 1.279 GB, free: 17.6 MB / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.822764153999742] Failed to read output from testmodel.py, exit status != 0: 9.578952904004836 9.604890618 8.382440768 Calling exit ...