Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001341/0.001341, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001654/0.001654, allocations: 157.5 kB / 23.01 MB, free: 4.602 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.449/1.449, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8339/0.8339, allocations: 101.3 MB / 361.1 MB, free: 9.523 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 66.7 kB / 0.5356 GB, free: 5.262 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.1928, allocations: 85.88 MB / 0.6195 GB, free: 1.594 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.6917/0.8844, allocations: 142.2 MB / 0.7583 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002123/0.8865, allocations: 0.9347 MB / 0.7592 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002266/0.8868, allocations: 13.38 kB / 0.7592 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005901/0.8874, allocations: 153 kB / 0.7594 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001727/0.8891, allocations: 0.6459 MB / 0.76 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006389/0.8897, allocations: 224 kB / 0.7602 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007038/0.8904, allocations: 0.5221 MB / 0.7607 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003107/0.8907, allocations: 145.6 kB / 0.7609 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004954/0.8912, allocations: 243.5 kB / 0.7611 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002468/0.8915, allocations: 167.2 kB / 0.7613 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.716e-05/0.8915, allocations: 14.84 kB / 0.7613 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000863/0.8924, allocations: 457.5 kB / 0.7617 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.8925, allocations: 87.25 kB / 0.7618 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001263/0.8926, allocations: 92.95 kB / 0.7619 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007022/0.8933, allocations: 486.1 kB / 0.7624 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.8933, allocations: 0 / 0.7624 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8933, allocations: 0 / 0.7624 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.8933, allocations: 4 kB / 0.7624 GB, free: 6.039 MB / 0.6075 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.001403/0.8948, allocations: 0.5294 MB / 0.7629 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.8948, allocations: 14.12 kB / 0.7629 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002625/0.895, allocations: 56.3 kB / 0.7629 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004489/0.8955, allocations: 233.1 kB / 0.7632 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/0.8955, allocations: 15.95 kB / 0.7632 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.144e-05/0.8956, allocations: 14.69 kB / 0.7632 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005122/0.8961, allocations: 241 kB / 0.7634 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.8961, allocations: 3.188 kB / 0.7634 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/0.8961, allocations: 4 kB / 0.7634 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/0.8961, allocations: 7.469 kB / 0.7634 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005652/0.8967, allocations: 253.1 kB / 0.7637 GB, free: 5.203 MB / 0.6075 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.001194/0.8979, allocations: 0.6314 MB / 0.7643 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003177/0.8982, allocations: 138.2 kB / 0.7644 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002099/0.8984, allocations: 100.8 kB / 0.7645 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001908/0.8986, allocations: 40.91 kB / 0.7646 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.8986, allocations: 33.78 kB / 0.7646 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.362e-06/0.8986, allocations: 0 / 0.7646 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0008405/0.8995, allocations: 301.5 kB / 0.7649 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.8995, allocations: 58.31 kB / 0.7649 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.8997, allocations: 184.4 kB / 0.7651 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.284e-05/0.8997, allocations: 28.36 kB / 0.7651 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.8999, allocations: 147.5 kB / 0.7653 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.321e-05/0.8999, allocations: 44.84 kB / 0.7653 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.453e-05/0.9, allocations: 43.81 kB / 0.7654 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.9001, allocations: 321.6 kB / 0.7657 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001953/0.9003, allocations: 76.59 kB / 0.7658 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002636/0.9006, allocations: 179.6 kB / 0.7659 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003745/0.901, allocations: 175.2 kB / 0.7661 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.901, allocations: 6.906 kB / 0.7661 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004546/0.9014, allocations: 207.1 kB / 0.7663 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.9014, allocations: 9.156 kB / 0.7663 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.9015, allocations: 0 / 0.7663 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.9015, allocations: 11.08 kB / 0.7663 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001885/0.9017, allocations: 25.48 kB / 0.7663 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.9017, allocations: 0 / 0.7663 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.9018, allocations: 16.86 kB / 0.7664 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/0.9018, allocations: 5.656 kB / 0.7664 GB, free: 3.152 MB / 0.6075 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.0001677/0.902, allocations: 147.6 kB / 0.7665 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.789e-05/0.9021, allocations: 23.95 kB / 0.7665 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.229e-05/0.9021, allocations: 20.75 kB / 0.7665 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.9021, allocations: 2.094 kB / 0.7665 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.9021, allocations: 6.938 kB / 0.7666 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.9021, allocations: 7.609 kB / 0.7666 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.9032, allocations: 0.5902 MB / 0.7671 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.9032, allocations: 2.969 kB / 0.7671 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/0.9034, allocations: 36.55 kB / 0.7672 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.9034, allocations: 0 / 0.7672 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.9034, allocations: 9.203 kB / 0.7672 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.9034, allocations: 3.031 kB / 0.7672 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.9034, allocations: 0 / 0.7672 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005528/0.9039, allocations: 353.3 kB / 0.7675 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.411e-05/0.904, allocations: 32.97 kB / 0.7676 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.925e-05/0.904, allocations: 6.875 kB / 0.7676 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.9042, allocations: 13.14 kB / 0.7676 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.339e-05/0.9043, allocations: 21.98 kB / 0.7676 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.9043, allocations: 5.281 kB / 0.7676 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000116/0.9044, allocations: 137.1 kB / 0.7677 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9044, allocations: 0 / 0.7677 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003724/0.9048, allocations: 70.59 kB / 0.7678 GB, free: 2.023 MB / 0.6075 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.0002403/0.905, allocations: 140.4 kB / 0.7679 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004442/0.9054, allocations: 171.3 kB / 0.7681 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.9054, allocations: 128 / 0.7681 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002173/0.9057, allocations: 97.16 kB / 0.7682 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006147/0.9063, allocations: 86.59 kB / 0.7683 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000778/0.907, allocations: 441.4 kB / 0.7687 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001532/0.9072, allocations: 154 kB / 0.7688 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001793/0.9074, allocations: 48.7 kB / 0.7689 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.016e-05/0.9075, allocations: 23.8 kB / 0.7689 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of SimCode: time 3.41e-07/0.9075, allocations: 0 / 0.7689 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of Templates: time 0.008072/0.9155, allocations: 3.524 MB / 0.7723 GB, free: 15.48 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.423127045971341] Failed to read output from testmodel.py, exit status != 0: 0.9247228569583967 0.938292914 0.042022472000000005 Calling exit ...