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.001296/0.001296, allocations: 79.94 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001455/0.001455, allocations: 164.6 kB / 22.46 MB, free: 5.359 MB / 14.72 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 1.414/1.414, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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.002586/0.002586, allocations: 247.7 kB / 259.4 MB, free: 468 kB / 238.1 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 1.069/1.069, allocations: 138.4 MB / 454.3 MB, free: 2.02 MB / 366.1 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: translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.6468 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.485e-05/2.62e-05, allocations: 6.219 kB / 0.6468 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002175/0.002202, allocations: 1.282 MB / 0.648 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0009934/0.003195, allocations: 0.5343 MB / 0.6486 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.29e-05/0.003218, allocations: 0 / 0.6486 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.636e-05/0.003234, allocations: 0 / 0.6486 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.63e-05/0.003281, allocations: 3.938 kB / 0.6486 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005421/0.003823, allocations: 139.3 kB / 0.6487 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.845e-05/0.003881, allocations: 11.92 kB / 0.6487 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.408e-05/0.003925, allocations: 4 kB / 0.6487 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.046e-05/0.003956, allocations: 0 / 0.6487 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.052e-05/0.004006, allocations: 7.984 kB / 0.6487 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.004021, allocations: 4 kB / 0.6487 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004583/0.00448, allocations: 279.3 kB / 0.649 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.373e-05/0.004493, allocations: 0 / 0.649 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.606e-05/0.00451, allocations: 0 / 0.649 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002865/0.004796, allocations: 151.5 kB / 0.6491 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.004799, allocations: 0 / 0.6491 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.52e-07/0.004799, allocations: 0 / 0.6491 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.004804, allocations: 0 / 0.6491 GB, free: 2.629 MB / 0.5606 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.0004111/0.005215, allocations: 274 kB / 0.6494 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.005257, allocations: 12.75 kB / 0.6494 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.976e-05/0.005286, allocations: 4.938 kB / 0.6494 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.005399, allocations: 113.7 kB / 0.6495 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.005415, allocations: 4.375 kB / 0.6495 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.005427, allocations: 384 / 0.6495 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.793e-05/0.005525, allocations: 34.27 kB / 0.6496 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.005534, allocations: 192 / 0.6496 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.005543, allocations: 384 / 0.6496 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.005547, allocations: 384 / 0.6496 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.843e-05/0.005575, allocations: 7.938 kB / 0.6496 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001448/0.00572, allocations: 101.3 kB / 0.6497 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.209e-05/0.005782, allocations: 30.52 kB / 0.6497 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.997e-05/0.005802, allocations: 4.859 kB / 0.6497 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.005827, allocations: 4.062 kB / 0.6497 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.005856, allocations: 30.56 kB / 0.6497 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.005857, allocations: 3.938 kB / 0.6497 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0001476/0.006004, allocations: 41.69 kB / 0.6498 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.006051, allocations: 55.41 kB / 0.6498 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.106e-05/0.006133, allocations: 101.7 kB / 0.6499 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.006148, allocations: 25.95 kB / 0.6499 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.042e-05/0.006189, allocations: 88.14 kB / 0.65 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.436e-05/0.006213, allocations: 3.953 kB / 0.65 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.685e-05/0.00625, allocations: 13.72 kB / 0.65 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.006389, allocations: 318.8 kB / 0.6504 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.228e-05/0.006402, allocations: 0 / 0.6504 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.051e-05/0.006412, allocations: 4 kB / 0.6504 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.919e-05/0.006441, allocations: 8.859 kB / 0.6504 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.006443, allocations: 0 / 0.6504 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.512e-05/0.006508, allocations: 37.7 kB / 0.6504 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.006523, allocations: 12.09 kB / 0.6504 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.006529, allocations: 3.984 kB / 0.6504 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.006544, allocations: 3.938 kB / 0.6504 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.006701, allocations: 8 kB / 0.6504 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004219/0.007123, allocations: 0.5821 MB / 0.651 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.714e-05/0.00714, allocations: 3.938 kB / 0.651 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-06/0.007148, allocations: 4.031 kB / 0.651 GB, free: 0.5156 MB / 0.5606 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 8.585e-05/0.007234, allocations: 113.8 kB / 0.6511 GB, free: 404 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.288e-05/0.007247, allocations: 7.984 kB / 0.6511 GB, free: 396 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001154/0.007363, allocations: 48.95 kB / 0.6512 GB, free: 340 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.007368, allocations: 3.984 kB / 0.6512 GB, free: 336 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.007372, allocations: 4 kB / 0.6512 GB, free: 332 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.007376, allocations: 4 kB / 0.6512 GB, free: 328 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.804e-05/0.007454, allocations: 93.33 kB / 0.6513 GB, free: 204 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.007457, allocations: 4 kB / 0.6513 GB, free: 200 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.514e-05/0.007532, allocations: 7.984 kB / 0.6513 GB, free: 192 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.007536, allocations: 7.984 kB / 0.6513 GB, free: 184 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/0.007544, allocations: 3.938 kB / 0.6513 GB, free: 180 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2922/0.2998, allocations: 0.5793 MB / 0.6519 GB, free: 56.47 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.2998, allocations: 2.031 kB / 0.6519 GB, free: 56.47 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.387e-05/0.2999, allocations: 64.92 kB / 0.6519 GB, free: 56.41 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.328e-05/0.2999, allocations: 2.125 kB / 0.6519 GB, free: 56.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.2999, allocations: 4.609 kB / 0.6519 GB, free: 56.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.411e-05/0.2999, allocations: 0 / 0.6519 GB, free: 56.41 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.929e-05/0.3, allocations: 2.625 kB / 0.6519 GB, free: 56.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.3, allocations: 3.5 kB / 0.6519 GB, free: 56.41 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.428e-05/0.3, allocations: 78.5 kB / 0.652 GB, free: 56.34 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.3, allocations: 1.641 kB / 0.652 GB, free: 56.34 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002686/0.3003, allocations: 12.05 kB / 0.652 GB, free: 56.34 MB / 0.5606 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.0001884/0.3004, allocations: 114.6 kB / 0.6521 GB, free: 56.25 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000206/0.3007, allocations: 16.66 kB / 0.6521 GB, free: 56.25 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/0.3007, allocations: 3.219 kB / 0.6521 GB, free: 56.25 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.428e-05/0.3007, allocations: 14.45 kB / 0.6522 GB, free: 56.25 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000161/0.3009, allocations: 5.562 kB / 0.6522 GB, free: 56.25 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003483/0.3013, allocations: 109.6 kB / 0.6523 GB, free: 56.16 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.209e-05/0.3013, allocations: 56.81 kB / 0.6523 GB, free: 56.09 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.583e-05/0.3013, allocations: 0 / 0.6523 GB, free: 56.09 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.847e-05/0.3013, allocations: 8.5 kB / 0.6523 GB, free: 56.09 MB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/0.3013, allocations: 1.594 kB / 0.6523 GB, free: 56.09 MB / 0.5606 GB Notification: Performance of Templates: time 0.00278/0.3041, allocations: 479.9 kB / 0.6528 GB, free: 56.09 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.767318923026323] Failed to read output from testmodel.py, exit status != 0: 0.311979953199625 0.321175982 0.314262254 Calling exit ...