Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.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.001873/0.001873, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 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.002427/0.002427, allocations: 161.3 kB / 22.75 MB, free: 1.656 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 1.469/1.469, allocations: 177.2 MB / 203.1 MB, free: 5.586 MB / 186.7 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.002656/0.002656, allocations: 235.9 kB / 259.8 MB, free: 12.83 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 1.083/1.083, allocations: 138.4 MB / 454.7 MB, free: 1.469 MB / 362.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: translateModel(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.5543 GB, free: 0.8711 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.334e-05/2.492e-05, allocations: 6.312 kB / 0.5543 GB, free: 0.8633 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe): time 0.3721/0.3721, allocations: 142.1 MB / 0.6931 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.00162/0.3737, allocations: 0.9395 MB / 0.694 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002876/0.374, allocations: 13.28 kB / 0.694 GB, free: 11.6 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0005225/0.3745, allocations: 161.2 kB / 0.6942 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001415/0.3759, allocations: 0.659 MB / 0.6948 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005908/0.3765, allocations: 251.4 kB / 0.6951 GB, free: 10.71 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.000567/0.3771, allocations: 0.5186 MB / 0.6956 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002939/0.3774, allocations: 141.8 kB / 0.6957 GB, free: 10.06 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004778/0.3779, allocations: 295.1 kB / 0.696 GB, free: 9.773 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001783/0.3781, allocations: 147.6 kB / 0.6961 GB, free: 9.629 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 3.132e-05/0.3781, allocations: 12 kB / 0.6961 GB, free: 9.617 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006444/0.3787, allocations: 474.4 kB / 0.6966 GB, free: 9.152 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 8.659e-05/0.3788, allocations: 87.72 kB / 0.6967 GB, free: 9.066 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 8.917e-05/0.3789, allocations: 83.83 kB / 0.6968 GB, free: 8.984 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0006246/0.3795, allocations: 498.5 kB / 0.6972 GB, free: 8.496 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3795, allocations: 0 / 0.6972 GB, free: 8.496 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3795, allocations: 0 / 0.6972 GB, free: 8.496 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.3795, allocations: 0 / 0.6972 GB, free: 8.496 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001294/0.3808, allocations: 0.5282 MB / 0.6978 GB, free: 7.938 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.3809, allocations: 8.75 kB / 0.6978 GB, free: 7.93 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000305/0.3812, allocations: 71.69 kB / 0.6978 GB, free: 7.859 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003538/0.3815, allocations: 240.7 kB / 0.6981 GB, free: 7.598 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.3815, allocations: 16.31 kB / 0.6981 GB, free: 7.582 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.967e-05/0.3816, allocations: 23.94 kB / 0.6981 GB, free: 7.559 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004473/0.382, allocations: 239.1 kB / 0.6983 GB, free: 7.32 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.382, allocations: 0 / 0.6983 GB, free: 7.32 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.313e-05/0.3821, allocations: 8 kB / 0.6983 GB, free: 7.312 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.929e-05/0.3821, allocations: 8 kB / 0.6983 GB, free: 7.305 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000502/0.3826, allocations: 251.8 kB / 0.6986 GB, free: 7.059 MB / 0.5105 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009993/0.3836, allocations: 0.6465 MB / 0.6992 GB, free: 6.379 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002795/0.3839, allocations: 138.5 kB / 0.6993 GB, free: 6.234 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001879/0.384, allocations: 106.5 kB / 0.6994 GB, free: 6.129 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001876/0.3842, allocations: 27.98 kB / 0.6995 GB, free: 6.102 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.3843, allocations: 43.88 kB / 0.6995 GB, free: 6.051 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=14): time 1.062e-06/0.3843, allocations: 0 / 0.6995 GB, free: 6.051 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14): time 0.0007666/0.385, allocations: 303.8 kB / 0.6998 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.124e-05/0.385, allocations: 55.41 kB / 0.6999 GB, free: 5.684 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.3852, allocations: 187.1 kB / 0.7 GB, free: 5.488 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.3852, allocations: 29.7 kB / 0.7001 GB, free: 5.453 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.8e-05/0.3852, allocations: 144.3 kB / 0.7002 GB, free: 5.305 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3e-05/0.3853, allocations: 51.52 kB / 0.7002 GB, free: 5.254 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.81e-05/0.3853, allocations: 33.7 kB / 0.7003 GB, free: 5.215 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.333e-05/0.3854, allocations: 330.8 kB / 0.7006 GB, free: 4.883 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.3855, allocations: 71.94 kB / 0.7007 GB, free: 4.812 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001958/0.3857, allocations: 183.5 kB / 0.7008 GB, free: 4.605 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000319/0.3861, allocations: 165.6 kB / 0.701 GB, free: 4.438 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3861, allocations: 0 / 0.701 GB, free: 4.438 MB / 0.5105 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004223/0.3865, allocations: 217.4 kB / 0.7012 GB, free: 4.219 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.3865, allocations: 8 kB / 0.7012 GB, free: 4.211 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.3865, allocations: 0 / 0.7012 GB, free: 4.211 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.3865, allocations: 3.938 kB / 0.7012 GB, free: 4.207 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001849/0.3867, allocations: 35.92 kB / 0.7013 GB, free: 4.172 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.3867, allocations: 0 / 0.7013 GB, free: 4.172 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/0.3869, allocations: 23 kB / 0.7013 GB, free: 4.152 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/0.3869, allocations: 7.984 kB / 0.7013 GB, free: 4.145 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * 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 9.453e-05/0.387, allocations: 149.8 kB / 0.7014 GB, free: 3.988 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.777e-05/0.387, allocations: 19.91 kB / 0.7014 GB, free: 3.969 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.526e-05/0.3871, allocations: 29.45 kB / 0.7015 GB, free: 3.941 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3871, allocations: 0 / 0.7015 GB, free: 3.941 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.3871, allocations: 4 kB / 0.7015 GB, free: 3.938 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.3871, allocations: 3.938 kB / 0.7015 GB, free: 3.934 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008183/0.3879, allocations: 0.594 MB / 0.7021 GB, free: 3.281 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.3879, allocations: 0 / 0.7021 GB, free: 3.281 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001571/0.3881, allocations: 43.84 kB / 0.7021 GB, free: 3.238 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.3881, allocations: 48 / 0.7021 GB, free: 3.238 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.3881, allocations: 7.984 kB / 0.7021 GB, free: 3.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.3881, allocations: 4 kB / 0.7021 GB, free: 3.227 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.3881, allocations: 0.7812 kB / 0.7021 GB, free: 3.227 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004192/0.3885, allocations: 350.4 kB / 0.7024 GB, free: 2.848 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.544e-05/0.3886, allocations: 35.77 kB / 0.7025 GB, free: 2.812 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/0.3886, allocations: 8 kB / 0.7025 GB, free: 2.805 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.3888, allocations: 7.984 kB / 0.7025 GB, free: 2.797 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.101e-05/0.3888, allocations: 15.98 kB / 0.7025 GB, free: 2.781 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.3888, allocations: 7.984 kB / 0.7025 GB, free: 2.773 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 7.26e-05/0.3889, allocations: 136.5 kB / 0.7026 GB, free: 2.641 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.3889, allocations: 0 / 0.7026 GB, free: 2.641 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003362/0.3892, allocations: 71.78 kB / 0.7027 GB, free: 2.57 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (14): * Single equations (assignments): 14 * 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.0001964/0.3894, allocations: 139.1 kB / 0.7029 GB, free: 2.426 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004041/0.3898, allocations: 180.7 kB / 0.703 GB, free: 2.25 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3898, allocations: 0 / 0.703 GB, free: 2.25 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001879/0.39, allocations: 91.81 kB / 0.7031 GB, free: 2.16 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006286/0.3907, allocations: 95.45 kB / 0.7032 GB, free: 2.082 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005839/0.3912, allocations: 439.5 kB / 0.7036 GB, free: 1.609 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001053/0.3914, allocations: 141.2 kB / 0.7038 GB, free: 1.453 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001615/0.3915, allocations: 53.44 kB / 0.7038 GB, free: 1.402 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.296e-05/0.3916, allocations: 20.5 kB / 0.7038 GB, free: 1.383 MB / 0.5105 GB Notification: Performance of SimCode: time 3.2e-07/0.3916, allocations: 4 kB / 0.7038 GB, free: 1.379 MB / 0.5105 GB Notification: Performance of Templates: time 0.007897/0.3995, allocations: 3.612 MB / 0.7074 GB, free: 13.91 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.886989025049843]