Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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: translateModel(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 223.2 MB / 239.9 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.044/1.044, allocations: 143.3 MB / 434.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003706/0.0003708, allocations: 12 kB / 0.5158 GB, free: 11.4 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.1782, allocations: 83.4 MB / 0.5973 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe): time 0.5087/0.6869, allocations: 135.5 MB / 0.7296 GB, free: 236 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002198/0.6891, allocations: 0.9737 MB / 0.7305 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002248/0.6894, allocations: 10.12 kB / 0.7305 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006889/0.6901, allocations: 168.4 kB / 0.7307 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001257/0.6914, allocations: 421.6 kB / 0.7311 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008215/0.6922, allocations: 270 kB / 0.7314 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005909/0.6928, allocations: 311.6 kB / 0.7317 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003432/0.6931, allocations: 149.3 kB / 0.7318 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006099/0.6938, allocations: 253.8 kB / 0.732 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.6939, allocations: 104.2 kB / 0.7321 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.667e-05/0.694, allocations: 14.81 kB / 0.7321 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006538/0.6946, allocations: 239 kB / 0.7324 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.979e-05/0.6948, allocations: 70.98 kB / 0.7324 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.354e-05/0.6948, allocations: 68.11 kB / 0.7325 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000427/0.6953, allocations: 276.8 kB / 0.7328 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.6953, allocations: 4 kB / 0.7328 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.412e-06/0.6953, allocations: 0 / 0.7328 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.6953, allocations: 0 / 0.7328 GB, free: 14.49 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001455/0.6967, allocations: 0.5441 MB / 0.7333 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.6968, allocations: 8.812 kB / 0.7333 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002716/0.6971, allocations: 51.25 kB / 0.7334 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004081/0.6975, allocations: 269.1 kB / 0.7336 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.6975, allocations: 23.7 kB / 0.7336 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.125e-05/0.6976, allocations: 18.5 kB / 0.7337 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005381/0.6981, allocations: 244.2 kB / 0.7339 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/0.6981, allocations: 0 / 0.7339 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.543e-05/0.6982, allocations: 6.594 kB / 0.7339 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.506e-05/0.6982, allocations: 9.641 kB / 0.7339 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006352/0.6989, allocations: 264.2 kB / 0.7342 GB, free: 13.59 MB / 0.5606 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.001397/0.7003, allocations: 0.778 MB / 0.7349 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003663/0.7006, allocations: 154.9 kB / 0.7351 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.314e-05/0.7007, allocations: 10.3 kB / 0.7351 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.7007, allocations: 37.17 kB / 0.7351 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.293e-06/0.7007, allocations: 0 / 0.7351 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0009258/0.7017, allocations: 321 kB / 0.7354 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.7017, allocations: 52.78 kB / 0.7355 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003325/0.7021, allocations: 242.2 kB / 0.7357 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.7021, allocations: 29.7 kB / 0.7357 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.7022, allocations: 142.1 kB / 0.7359 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.237e-05/0.7023, allocations: 46.77 kB / 0.7359 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.164e-05/0.7023, allocations: 4 kB / 0.7359 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.7025, allocations: 334.6 kB / 0.7362 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/0.7027, allocations: 69.78 kB / 0.7363 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002387/0.7029, allocations: 112 kB / 0.7364 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002017/0.7031, allocations: 79.58 kB / 0.7365 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.7031, allocations: 0 / 0.7365 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000491/0.7036, allocations: 232.3 kB / 0.7367 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.7037, allocations: 7.938 kB / 0.7367 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.463e-06/0.7037, allocations: 0.5625 kB / 0.7367 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.7037, allocations: 4 kB / 0.7367 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002058/0.7039, allocations: 35.34 kB / 0.7368 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.7039, allocations: 0 / 0.7368 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001955/0.7041, allocations: 28.2 kB / 0.7368 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.646e-05/0.7042, allocations: 5.312 kB / 0.7368 GB, free: 11.73 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001578/0.7043, allocations: 147.1 kB / 0.7369 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.329e-05/0.7044, allocations: 20.61 kB / 0.7369 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.949e-05/0.7045, allocations: 32.38 kB / 0.737 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.7045, allocations: 4.797 kB / 0.737 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/0.7045, allocations: 0 / 0.737 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.7045, allocations: 1.297 kB / 0.737 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001261/0.7058, allocations: 0.6878 MB / 0.7377 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.7058, allocations: 0 / 0.7377 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001646/0.706, allocations: 42.77 kB / 0.7377 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.706, allocations: 0 / 0.7377 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.094e-05/0.706, allocations: 13.16 kB / 0.7377 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.142e-06/0.706, allocations: 8.609 kB / 0.7377 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.706, allocations: 0.7969 kB / 0.7377 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006412/0.7067, allocations: 450 kB / 0.7381 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001478/0.7068, allocations: 111 kB / 0.7382 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.092e-05/0.7069, allocations: 12.7 kB / 0.7383 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/0.707, allocations: 15.75 kB / 0.7383 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.656e-05/0.7071, allocations: 11.23 kB / 0.7383 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.7071, allocations: 9.641 kB / 0.7383 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001728/0.7073, allocations: 179.8 kB / 0.7385 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.5e-07/0.7073, allocations: 0 / 0.7385 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003838/0.7077, allocations: 60.73 kB / 0.7385 GB, free: 9.949 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005471/0.7083, allocations: 158.8 kB / 0.7387 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004865/0.7088, allocations: 181.5 kB / 0.7388 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.7088, allocations: 0 / 0.7388 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00023/0.709, allocations: 105.5 kB / 0.739 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006877/0.7097, allocations: 113.3 kB / 0.7391 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009319/0.7106, allocations: 0.4954 MB / 0.7395 GB, free: 9.004 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000472/0.7111, allocations: 0.7569 MB / 0.7403 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002461/0.7114, allocations: 70.8 kB / 0.7403 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.868e-05/0.7115, allocations: 21.08 kB / 0.7404 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.7115, allocations: 3.938 kB / 0.7404 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of Templates: time 0.008888/0.7204, allocations: 4.075 MB / 0.7444 GB, free: 5.277 MB / 0.5606 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) Environment - environmentSimulation: