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.008221/0.008221, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.001663/0.001663, allocations: 192.8 kB / 16.67 MB, free: 5.973 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002032/0.002032, allocations: 286.9 kB / 290.8 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9593/0.9593, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00173/0.00173, allocations: 103.8 kB / 0.6814 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1698, allocations: 86.96 MB / 0.7664 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe): time 0.5352/0.705, allocations: 161.3 MB / 0.9239 GB, free: 1.512 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.00175/0.7068, allocations: 0.9666 MB / 0.9249 GB, free: 0.5469 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001569/0.707, allocations: 7.938 kB / 0.9249 GB, free: 0.5391 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0005149/0.7076, allocations: 162.9 kB / 0.925 GB, free: 388 kB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001367/0.7089, allocations: 0.6302 MB / 0.9256 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005332/0.7095, allocations: 220.5 kB / 0.9258 GB, free: 15.54 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.000532/0.71, allocations: 0.5226 MB / 0.9264 GB, free: 15.01 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003068/0.7103, allocations: 173.5 kB / 0.9265 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004379/0.7108, allocations: 243 kB / 0.9267 GB, free: 14.61 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002135/0.711, allocations: 159.3 kB / 0.9269 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 3.643e-05/0.7111, allocations: 16 kB / 0.9269 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008593/0.7119, allocations: 0.5377 MB / 0.9274 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 9.079e-05/0.712, allocations: 83.77 kB / 0.9275 GB, free: 13.81 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.7121, allocations: 107.5 kB / 0.9276 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0006242/0.7128, allocations: 0.4898 MB / 0.9281 GB, free: 13.22 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.7128, allocations: 0 / 0.9281 GB, free: 13.22 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7128, allocations: 4 kB / 0.9281 GB, free: 13.21 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 8.787e-06/0.7128, allocations: 0 / 0.9281 GB, free: 13.21 MB / 0.6856 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.001316/0.7141, allocations: 0.6061 MB / 0.9287 GB, free: 12.56 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.7142, allocations: 8.031 kB / 0.9287 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002533/0.7144, allocations: 43.69 kB / 0.9287 GB, free: 12.51 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004024/0.7148, allocations: 294.9 kB / 0.929 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.7149, allocations: 12.33 kB / 0.929 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.274e-05/0.7149, allocations: 16 kB / 0.9291 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004703/0.7154, allocations: 239.8 kB / 0.9293 GB, free: 11.92 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.7154, allocations: 0 / 0.9293 GB, free: 11.92 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.387e-05/0.7154, allocations: 8 kB / 0.9293 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.56e-05/0.7155, allocations: 12 kB / 0.9293 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005309/0.716, allocations: 259.7 kB / 0.9295 GB, free: 11.64 MB / 0.6856 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.001134/0.7171, allocations: 0.8314 MB / 0.9304 GB, free: 10.74 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003044/0.7175, allocations: 146.6 kB / 0.9305 GB, free: 10.59 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002119/0.7177, allocations: 112.8 kB / 0.9306 GB, free: 10.47 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002488/0.7179, allocations: 186.2 kB / 0.9308 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.718, allocations: 38.56 kB / 0.9308 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=14): time 1.302e-06/0.718, allocations: 3.938 kB / 0.9308 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of matching and sorting (n=14): time 0.0007822/0.7188, allocations: 293.2 kB / 0.9311 GB, free: 9.91 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.7188, allocations: 59.39 kB / 0.9312 GB, free: 9.84 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002084/0.719, allocations: 245 kB / 0.9314 GB, free: 9.586 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.7191, allocations: 29.7 kB / 0.9314 GB, free: 9.551 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 7.849e-05/0.7191, allocations: 132.2 kB / 0.9316 GB, free: 9.418 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.983e-05/0.7192, allocations: 55.28 kB / 0.9316 GB, free: 9.363 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.727e-05/0.7193, allocations: 37.64 kB / 0.9316 GB, free: 9.32 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.7194, allocations: 334.8 kB / 0.932 GB, free: 8.984 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/0.7196, allocations: 63.94 kB / 0.932 GB, free: 8.922 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002041/0.7198, allocations: 106.5 kB / 0.9321 GB, free: 8.809 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003497/0.7201, allocations: 177.9 kB / 0.9323 GB, free: 8.629 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.7201, allocations: 0 / 0.9323 GB, free: 8.629 MB / 0.6856 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004246/0.7206, allocations: 213.2 kB / 0.9325 GB, free: 8.414 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.7206, allocations: 4 kB / 0.9325 GB, free: 8.41 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.7206, allocations: 7.938 kB / 0.9325 GB, free: 8.402 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.7206, allocations: 0 / 0.9325 GB, free: 8.402 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/0.7208, allocations: 35.91 kB / 0.9325 GB, free: 8.367 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.7208, allocations: 0 / 0.9325 GB, free: 8.367 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001601/0.721, allocations: 19.83 kB / 0.9326 GB, free: 8.348 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.196e-05/0.721, allocations: 8 kB / 0.9326 GB, free: 8.34 MB / 0.6856 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.0001172/0.7212, allocations: 145.8 kB / 0.9327 GB, free: 8.188 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.06e-05/0.7212, allocations: 23.72 kB / 0.9327 GB, free: 8.164 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.426e-05/0.7213, allocations: 33.77 kB / 0.9328 GB, free: 8.133 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.7213, allocations: 4 kB / 0.9328 GB, free: 8.129 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.7213, allocations: 0 / 0.9328 GB, free: 8.129 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.7213, allocations: 3.984 kB / 0.9328 GB, free: 8.125 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009446/0.7223, allocations: 0.6756 MB / 0.9334 GB, free: 7.371 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.7223, allocations: 0.875 kB / 0.9334 GB, free: 7.371 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001596/0.7225, allocations: 31.97 kB / 0.9335 GB, free: 7.34 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.7225, allocations: 4.219 kB / 0.9335 GB, free: 7.336 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.7225, allocations: 4 kB / 0.9335 GB, free: 7.332 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.7225, allocations: 7.938 kB / 0.9335 GB, free: 7.324 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.7225, allocations: 4.875 kB / 0.9335 GB, free: 7.32 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004619/0.723, allocations: 365 kB / 0.9338 GB, free: 6.926 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 8.566e-05/0.7231, allocations: 104.9 kB / 0.9339 GB, free: 6.805 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.714e-05/0.7231, allocations: 8 kB / 0.9339 GB, free: 6.797 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.7233, allocations: 7.984 kB / 0.9339 GB, free: 6.789 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.792e-05/0.7233, allocations: 23.92 kB / 0.934 GB, free: 6.766 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.7234, allocations: 7.938 kB / 0.934 GB, free: 6.758 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0001372/0.7235, allocations: 180.5 kB / 0.9341 GB, free: 6.586 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7235, allocations: 0 / 0.9341 GB, free: 6.586 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0003359/0.7238, allocations: 55.91 kB / 0.9342 GB, free: 6.531 MB / 0.6856 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.0003298/0.7242, allocations: 172.9 kB / 0.9344 GB, free: 6.367 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004304/0.7246, allocations: 171.8 kB / 0.9345 GB, free: 6.199 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/0.7246, allocations: 0 / 0.9345 GB, free: 6.199 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002145/0.7249, allocations: 99.8 kB / 0.9346 GB, free: 6.102 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007324/0.7256, allocations: 126.7 kB / 0.9347 GB, free: 5.984 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006269/0.7262, allocations: 444.5 kB / 0.9352 GB, free: 5.5 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/0.7265, allocations: 0.7518 MB / 0.9359 GB, free: 4.723 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001806/0.7267, allocations: 61.89 kB / 0.936 GB, free: 4.664 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.014e-05/0.7268, allocations: 23.44 kB / 0.936 GB, free: 4.641 MB / 0.6856 GB Notification: Performance of SimCode: time 2.5e-07/0.7268, allocations: 3.938 kB / 0.936 GB, free: 4.637 MB / 0.6856 GB Notification: Performance of Templates: time 0.007848/0.7347, allocations: 4.452 MB / 0.9403 GB, free: 272 kB / 0.6856 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)