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.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001127/0.001127, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 192.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002089/0.002089, allocations: 279.1 kB / 290.7 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9901/0.9901, allocations: 169.3 MB / 0.4982 GB, free: 13.88 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001805/0.001806, allocations: 97.47 kB / 0.5952 GB, free: 27.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.1807, allocations: 86.98 MB / 0.6802 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe): time 0.5251/0.7059, allocations: 161.3 MB / 0.8377 GB, free: 268 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002505/0.7084, allocations: 0.9638 MB / 0.8386 GB, free: 140 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000303/0.7088, allocations: 9.344 kB / 0.8387 GB, free: 136 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005624/0.7094, allocations: 163 kB / 0.8388 GB, free: 76 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001685/0.7111, allocations: 0.6326 MB / 0.8394 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006735/0.7118, allocations: 214.8 kB / 0.8396 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007396/0.7125, allocations: 0.5258 MB / 0.8401 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003033/0.7128, allocations: 166.3 kB / 0.8403 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004117/0.7132, allocations: 236.5 kB / 0.8405 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001956/0.7135, allocations: 155.5 kB / 0.8407 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.17e-05/0.7135, allocations: 14.28 kB / 0.8407 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009949/0.7145, allocations: 0.5447 MB / 0.8412 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.7146, allocations: 78.23 kB / 0.8413 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.7147, allocations: 109.4 kB / 0.8414 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006857/0.7154, allocations: 0.4895 MB / 0.8419 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.7155, allocations: 4 kB / 0.8419 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.273e-06/0.7155, allocations: 0 / 0.8419 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.7155, allocations: 0 / 0.8419 GB, free: 15.57 MB / 0.5762 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.001366/0.7168, allocations: 0.5864 MB / 0.8425 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.7169, allocations: 9.625 kB / 0.8425 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002498/0.7171, allocations: 50.48 kB / 0.8425 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003728/0.7175, allocations: 288.1 kB / 0.8428 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.7175, allocations: 14.02 kB / 0.8428 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.656e-05/0.7176, allocations: 20.97 kB / 0.8428 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004762/0.7181, allocations: 239.5 kB / 0.8431 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.7181, allocations: 0 / 0.8431 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.334e-05/0.7181, allocations: 4.625 kB / 0.8431 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.633e-05/0.7182, allocations: 15.28 kB / 0.8431 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006323/0.7188, allocations: 258.2 kB / 0.8433 GB, free: 14.82 MB / 0.5762 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.001295/0.7201, allocations: 0.8418 MB / 0.8441 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003223/0.7204, allocations: 141.3 kB / 0.8443 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002118/0.7207, allocations: 115.9 kB / 0.8444 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002621/0.7209, allocations: 184.2 kB / 0.8446 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.721, allocations: 42.94 kB / 0.8446 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.112e-06/0.721, allocations: 0 / 0.8446 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.0008082/0.7218, allocations: 299.1 kB / 0.8449 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.7218, allocations: 58.17 kB / 0.8449 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002422/0.7221, allocations: 245 kB / 0.8452 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.7221, allocations: 25.7 kB / 0.8452 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.428e-05/0.7222, allocations: 135.3 kB / 0.8453 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.743e-05/0.7223, allocations: 47.27 kB / 0.8454 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.33e-05/0.7224, allocations: 39.3 kB / 0.8454 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.7225, allocations: 336.3 kB / 0.8457 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001799/0.7227, allocations: 65.53 kB / 0.8458 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/0.7229, allocations: 110.6 kB / 0.8459 GB, free: 13 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003797/0.7233, allocations: 164.3 kB / 0.8461 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.7233, allocations: 1.281 kB / 0.8461 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004573/0.7238, allocations: 212.2 kB / 0.8463 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.7238, allocations: 3.875 kB / 0.8463 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.7238, allocations: 6.594 kB / 0.8463 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.7238, allocations: 0 / 0.8463 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/0.724, allocations: 35.91 kB / 0.8463 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.724, allocations: 0 / 0.8463 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001626/0.7242, allocations: 27.86 kB / 0.8463 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.198e-05/0.7242, allocations: 9.406 kB / 0.8463 GB, free: 12.75 MB / 0.5762 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 0.0001477/0.7244, allocations: 146.4 kB / 0.8465 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.712e-05/0.7244, allocations: 22.38 kB / 0.8465 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.505e-05/0.7245, allocations: 35.11 kB / 0.8465 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.7245, allocations: 6.594 kB / 0.8465 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.7245, allocations: 0 / 0.8465 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.7245, allocations: 3.984 kB / 0.8465 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.7256, allocations: 0.6806 MB / 0.8472 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001069/0.7257, allocations: 6.578 kB / 0.8472 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.7259, allocations: 33.39 kB / 0.8472 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.7259, allocations: 4.781 kB / 0.8473 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.7259, allocations: 4.75 kB / 0.8473 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.055e-06/0.7259, allocations: 10.3 kB / 0.8473 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.7259, allocations: 2.406 kB / 0.8473 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004842/0.7264, allocations: 351.7 kB / 0.8476 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.7265, allocations: 109.8 kB / 0.8477 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.927e-05/0.7266, allocations: 6.5 kB / 0.8477 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/0.7267, allocations: 11.73 kB / 0.8477 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.147e-05/0.7268, allocations: 21.39 kB / 0.8477 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.7268, allocations: 5.125 kB / 0.8478 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001603/0.727, allocations: 180.7 kB / 0.8479 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.727, allocations: 3.938 kB / 0.8479 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003341/0.7273, allocations: 51.38 kB / 0.848 GB, free: 11.42 MB / 0.5762 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.0003771/0.7277, allocations: 160.7 kB / 0.8481 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004876/0.7282, allocations: 181.2 kB / 0.8483 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.7282, allocations: 3.938 kB / 0.8483 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002269/0.7285, allocations: 94.3 kB / 0.8484 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007471/0.7292, allocations: 128.4 kB / 0.8485 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007575/0.73, allocations: 454.1 kB / 0.849 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004335/0.7304, allocations: 0.7539 MB / 0.8497 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002096/0.7306, allocations: 59.75 kB / 0.8497 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.262e-05/0.7307, allocations: 20.59 kB / 0.8498 GB, free: 10 MB / 0.5762 GB Notification: Performance of SimCode: time 1.573e-06/0.7307, allocations: 0 / 0.8498 GB, free: 10 MB / 0.5762 GB Notification: Performance of Templates: time 0.008746/0.7395, allocations: 4.436 MB / 0.8541 GB, free: 7.828 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.makefile (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)