Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.000721/0.000721, 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.000734/0.000734, 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.8415/0.8415, allocations: 177.2 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001415/0.001415, allocations: 230.1 kB / 259.4 MB, free: 13.03 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6475/0.6475, allocations: 138.4 MB / 454.3 MB, free: 30 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 0.6463 GB, free: 1.914 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.893e-05/2.037e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.91 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001675/0.001696, allocations: 1.274 MB / 0.6475 GB, free: 0.625 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0006854/0.002381, allocations: 0.5144 MB / 0.648 GB, free: 112 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.289e-05/0.002404, allocations: 11.94 kB / 0.648 GB, free: 100 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.737e-05/0.002421, allocations: 0 / 0.648 GB, free: 100 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 3.718e-05/0.002458, allocations: 3.984 kB / 0.6481 GB, free: 96 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.2227/0.2251, allocations: 133.8 kB / 0.6482 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 6.864e-05/0.2252, allocations: 13.3 kB / 0.6482 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.791e-05/0.2252, allocations: 7.297 kB / 0.6482 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 3.063e-05/0.2253, allocations: 2.156 kB / 0.6482 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.237e-05/0.2253, allocations: 4.844 kB / 0.6482 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.2253, allocations: 3.344 kB / 0.6482 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003706/0.2257, allocations: 266.2 kB / 0.6485 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.435e-05/0.2257, allocations: 3.625 kB / 0.6485 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.9e-05/0.2257, allocations: 2.344 kB / 0.6485 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002332/0.226, allocations: 154 kB / 0.6486 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.226, allocations: 1.438 kB / 0.6486 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.513e-06/0.226, allocations: 0 / 0.6486 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.226, allocations: 1.094 kB / 0.6486 GB, free: 55.86 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002969/0.2263, allocations: 272.6 kB / 0.6489 GB, free: 55.58 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.2263, allocations: 12.69 kB / 0.6489 GB, free: 55.58 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.142e-05/0.2263, allocations: 31.27 kB / 0.6489 GB, free: 55.54 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.276e-05/0.2264, allocations: 2.281 kB / 0.6489 GB, free: 55.54 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.435e-05/0.2264, allocations: 113.6 kB / 0.649 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.906e-06/0.2264, allocations: 1.781 kB / 0.649 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.125e-06/0.2264, allocations: 3.391 kB / 0.649 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.615e-05/0.2265, allocations: 36.7 kB / 0.6491 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.543e-06/0.2265, allocations: 3.188 kB / 0.6491 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-06/0.2265, allocations: 2.188 kB / 0.6491 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.2265, allocations: 4.125 kB / 0.6491 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.274e-05/0.2265, allocations: 8.719 kB / 0.6491 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.88e-05/0.2266, allocations: 118.8 kB / 0.6492 GB, free: 55.22 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 4.721e-05/0.2267, allocations: 23.44 kB / 0.6492 GB, free: 55.2 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.483e-05/0.2267, allocations: 8.891 kB / 0.6492 GB, free: 55.19 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.2267, allocations: 2.094 kB / 0.6492 GB, free: 55.19 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.349e-05/0.2267, allocations: 36.5 kB / 0.6493 GB, free: 55.15 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 1.462e-06/0.2267, allocations: 1.188 kB / 0.6493 GB, free: 55.15 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0001501/0.2269, allocations: 41.34 kB / 0.6493 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.468e-05/0.2269, allocations: 56.52 kB / 0.6494 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.421e-05/0.227, allocations: 96.83 kB / 0.6495 GB, free: 54.96 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.46e-06/0.227, allocations: 27.83 kB / 0.6495 GB, free: 54.93 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.059e-05/0.227, allocations: 82.42 kB / 0.6496 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.345e-05/0.227, allocations: 9.156 kB / 0.6496 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.384e-05/0.227, allocations: 18.27 kB / 0.6496 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.009e-05/0.2271, allocations: 314.4 kB / 0.6499 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.184e-05/0.2271, allocations: 4.812 kB / 0.6499 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.148e-06/0.2271, allocations: 4.422 kB / 0.6499 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.521e-05/0.2271, allocations: 15.44 kB / 0.6499 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.2271, allocations: 0 / 0.6499 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.507e-05/0.2271, allocations: 39.23 kB / 0.6499 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.2272, allocations: 5.688 kB / 0.65 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.2272, allocations: 0 / 0.65 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.2272, allocations: 1.156 kB / 0.65 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.2273, allocations: 16.41 kB / 0.65 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001767/0.2275, allocations: 0.5863 MB / 0.6505 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.282e-05/0.2275, allocations: 0 / 0.6505 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.2275, allocations: 1.219 kB / 0.6505 GB, free: 53.89 MB / 0.5573 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 4.065e-05/0.2276, allocations: 109.2 kB / 0.6506 GB, free: 53.77 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.04e-06/0.2276, allocations: 8.391 kB / 0.6507 GB, free: 53.77 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.617e-05/0.2276, allocations: 51.14 kB / 0.6507 GB, free: 53.73 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.2276, allocations: 1.031 kB / 0.6507 GB, free: 53.73 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.2276, allocations: 0 / 0.6507 GB, free: 53.73 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.2277, allocations: 6.359 kB / 0.6507 GB, free: 53.73 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.664e-05/0.2277, allocations: 124 kB / 0.6508 GB, free: 53.58 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2277, allocations: 4.453 kB / 0.6508 GB, free: 53.57 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.499e-05/0.2278, allocations: 12.88 kB / 0.6508 GB, free: 53.57 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.2278, allocations: 1.375 kB / 0.6508 GB, free: 53.57 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.2278, allocations: 1.594 kB / 0.6508 GB, free: 53.57 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001193/0.2279, allocations: 0.5859 MB / 0.6514 GB, free: 52.99 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2279, allocations: 0 / 0.6514 GB, free: 52.99 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.883e-05/0.2279, allocations: 66.98 kB / 0.6515 GB, free: 52.93 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.734e-06/0.2279, allocations: 4.812 kB / 0.6515 GB, free: 52.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.508e-06/0.2279, allocations: 0 / 0.6515 GB, free: 52.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.017e-06/0.228, allocations: 1.609 kB / 0.6515 GB, free: 52.93 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.279e-05/0.228, allocations: 5.219 kB / 0.6515 GB, free: 52.92 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.574e-06/0.228, allocations: 1.438 kB / 0.6515 GB, free: 52.92 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.392e-05/0.228, allocations: 77.8 kB / 0.6516 GB, free: 52.85 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.228, allocations: 0 / 0.6516 GB, free: 52.85 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000131/0.2281, allocations: 20.83 kB / 0.6516 GB, free: 52.84 MB / 0.5573 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002179/0.2283, allocations: 0.6094 MB / 0.6522 GB, free: 52.25 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.000132/0.2285, allocations: 19.78 kB / 0.6522 GB, free: 52.25 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2285, allocations: 0 / 0.6522 GB, free: 52.25 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 3.671e-05/0.2285, allocations: 19.31 kB / 0.6522 GB, free: 52.25 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001114/0.2286, allocations: 1.812 kB / 0.6522 GB, free: 52.25 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003761/0.229, allocations: 133.4 kB / 0.6524 GB, free: 52.11 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.417e-05/0.229, allocations: 58.52 kB / 0.6524 GB, free: 52.04 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.541e-05/0.229, allocations: 0.6562 kB / 0.6524 GB, free: 52.04 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.364e-05/0.229, allocations: 12.41 kB / 0.6524 GB, free: 52.04 MB / 0.5573 GB Notification: Performance of SimCode: time 5.81e-07/0.2291, allocations: 0.75 kB / 0.6524 GB, free: 52.04 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01451/0.2436, allocations: 1.959 MB / 0.6543 GB, free: 51.29 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.258/7.502, allocations: 11.66 kB / 0.6543 GB, free: 51.29 MB / 0.5573 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.937379539012909] Failed to read output from testmodel.py, exit status != 0: 7.584423213265836 7.591473145 7.363719195 Calling exit ...