Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001367/0.001367, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001576/0.001576, allocations: 168.2 kB / 22.46 MB, free: 5.359 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.489/1.489, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.191/1.191, allocations: 154.6 MB / 413.7 MB, free: 5.301 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.6185 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.871e-05/3.036e-05, allocations: 5.719 kB / 0.6185 GB, free: 4.676 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.6178/0.6178, allocations: 153 MB / 0.7679 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.005541/0.6234, allocations: 1.762 MB / 0.7696 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000736/0.6241, allocations: 19.78 kB / 0.7696 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001097/0.6252, allocations: 222.5 kB / 0.7698 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003097/0.6283, allocations: 0.7886 MB / 0.7706 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003526/0.6318, allocations: 0.9185 MB / 0.7715 GB, free: 9.566 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001666/0.6335, allocations: 0.8621 MB / 0.7723 GB, free: 9.066 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006745/0.6342, allocations: 222.3 kB / 0.7726 GB, free: 8.918 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001798/0.636, allocations: 0.7086 MB / 0.7733 GB, free: 8.477 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005697/0.6365, allocations: 234.5 kB / 0.7735 GB, free: 8.355 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 9.29e-05/0.6366, allocations: 26.78 kB / 0.7735 GB, free: 8.355 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002096/0.6387, allocations: 0.8996 MB / 0.7744 GB, free: 7.844 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002532/0.639, allocations: 137.8 kB / 0.7745 GB, free: 7.75 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002814/0.6392, allocations: 140.7 kB / 0.7746 GB, free: 7.688 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002317/0.6416, allocations: 0.9219 MB / 0.7755 GB, free: 7.148 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.6416, allocations: 0 / 0.7755 GB, free: 7.148 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.964e-06/0.6416, allocations: 0 / 0.7755 GB, free: 7.148 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.723e-05/0.6416, allocations: 4 kB / 0.7755 GB, free: 7.145 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.002332/0.6439, allocations: 0.7083 MB / 0.7762 GB, free: 6.566 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.644, allocations: 20.47 kB / 0.7763 GB, free: 6.559 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/0.6452, allocations: 157.6 kB / 0.7764 GB, free: 6.488 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008027/0.646, allocations: 300 kB / 0.7767 GB, free: 6.238 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/0.646, allocations: 20.59 kB / 0.7767 GB, free: 6.23 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.777e-05/0.6461, allocations: 28.03 kB / 0.7767 GB, free: 6.219 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007841/0.6468, allocations: 402.8 kB / 0.7771 GB, free: 5.957 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.6469, allocations: 0 / 0.7771 GB, free: 5.957 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.71e-05/0.6469, allocations: 10.03 kB / 0.7771 GB, free: 5.949 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.673e-05/0.6469, allocations: 11.75 kB / 0.7771 GB, free: 5.949 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007388/0.6477, allocations: 348.5 kB / 0.7775 GB, free: 5.781 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002097/0.6498, allocations: 1.228 MB / 0.7787 GB, free: 4.801 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005227/0.6503, allocations: 221.1 kB / 0.7789 GB, free: 4.684 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002651/0.6506, allocations: 133.7 kB / 0.779 GB, free: 4.617 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004948/0.651, allocations: 74.7 kB / 0.7791 GB, free: 4.59 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.357e-05/0.6511, allocations: 39.66 kB / 0.7791 GB, free: 4.547 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=20): time 5.34e-06/0.6511, allocations: 3.984 kB / 0.7791 GB, free: 4.543 MB / 0.6231 GB Notification: Performance of matching and sorting (n=20): time 0.001257/0.6524, allocations: 386.2 kB / 0.7795 GB, free: 4.344 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/0.6524, allocations: 54.34 kB / 0.7795 GB, free: 4.281 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003388/0.6527, allocations: 265.5 kB / 0.7798 GB, free: 4.102 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.628e-05/0.6528, allocations: 33.7 kB / 0.7798 GB, free: 4.062 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001902/0.653, allocations: 208.4 kB / 0.78 GB, free: 3.871 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.525e-05/0.653, allocations: 71.36 kB / 0.7801 GB, free: 3.809 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.6532, allocations: 56.77 kB / 0.7802 GB, free: 3.766 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002098/0.6534, allocations: 343 kB / 0.7805 GB, free: 3.43 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002121/0.6536, allocations: 91.09 kB / 0.7806 GB, free: 3.387 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003585/0.6539, allocations: 230 kB / 0.7808 GB, free: 3.184 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004953/0.6544, allocations: 251.3 kB / 0.781 GB, free: 3.023 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.6544, allocations: 0 / 0.781 GB, free: 3.023 MB / 0.6231 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006153/0.655, allocations: 304 kB / 0.7813 GB, free: 2.859 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.6551, allocations: 9.125 kB / 0.7813 GB, free: 2.855 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.6551, allocations: 2.031 kB / 0.7813 GB, free: 2.855 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/0.6551, allocations: 2.969 kB / 0.7813 GB, free: 2.855 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002686/0.6554, allocations: 50.69 kB / 0.7814 GB, free: 2.84 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.6554, allocations: 5.062 kB / 0.7814 GB, free: 2.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002598/0.6556, allocations: 24.06 kB / 0.7814 GB, free: 2.824 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.56e-05/0.6557, allocations: 12.11 kB / 0.7814 GB, free: 2.82 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (25): * Single equations (assignments): 25 * 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.0002019/0.6559, allocations: 155.8 kB / 0.7816 GB, free: 2.68 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.358e-05/0.6559, allocations: 37.22 kB / 0.7816 GB, free: 2.656 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006655/0.6566, allocations: 295.5 kB / 0.7819 GB, free: 2.477 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.6566, allocations: 2.875 kB / 0.7819 GB, free: 2.477 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.6566, allocations: 0 / 0.7819 GB, free: 2.477 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.6566, allocations: 3.984 kB / 0.7819 GB, free: 2.473 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001427/0.6581, allocations: 0.7876 MB / 0.7827 GB, free: 1.871 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.6581, allocations: 2.688 kB / 0.7827 GB, free: 1.871 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002004/0.6583, allocations: 50.38 kB / 0.7827 GB, free: 1.855 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.6583, allocations: 2.875 kB / 0.7827 GB, free: 1.855 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.238e-05/0.6583, allocations: 9.078 kB / 0.7827 GB, free: 1.852 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.6583, allocations: 2.875 kB / 0.7827 GB, free: 1.852 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.6583, allocations: 10.88 kB / 0.7827 GB, free: 1.844 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000641/0.6589, allocations: 434.9 kB / 0.7832 GB, free: 1.504 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001/0.659, allocations: 54.06 kB / 0.7832 GB, free: 1.469 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.704e-05/0.6591, allocations: 9.812 kB / 0.7832 GB, free: 1.465 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/0.6593, allocations: 15.61 kB / 0.7832 GB, free: 1.457 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.65e-05/0.6594, allocations: 23.83 kB / 0.7833 GB, free: 1.441 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.6594, allocations: 12.27 kB / 0.7833 GB, free: 1.438 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002077/0.6596, allocations: 194.9 kB / 0.7834 GB, free: 1.301 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.6596, allocations: 0 / 0.7834 GB, free: 1.301 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005023/0.6601, allocations: 106.2 kB / 0.7835 GB, free: 1.277 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (20): * Single equations (assignments): 20 * 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.0003389/0.6604, allocations: 162.7 kB / 0.7837 GB, free: 1.156 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005788/0.661, allocations: 229.8 kB / 0.7839 GB, free: 1.051 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.661, allocations: 2.625 kB / 0.7839 GB, free: 1.051 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002614/0.6613, allocations: 121.2 kB / 0.784 GB, free: 0.9961 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009208/0.6622, allocations: 151.6 kB / 0.7842 GB, free: 0.9258 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.6633, allocations: 0.6139 MB / 0.7848 GB, free: 464 kB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002044/0.6636, allocations: 194.5 kB / 0.785 GB, free: 332 kB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002477/0.6638, allocations: 78.55 kB / 0.785 GB, free: 288 kB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.85e-05/0.6639, allocations: 27.38 kB / 0.7851 GB, free: 280 kB / 0.6231 GB Notification: Performance of SimCode: time 4.11e-07/0.6639, allocations: 4 kB / 0.7851 GB, free: 276 kB / 0.6231 GB Notification: Performance of Templates: time 0.01215/0.6761, allocations: 5.713 MB / 0.7907 GB, free: 13.42 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.652618445456028] Failed to read output from testmodel.py, exit status != 0: 0.6857866644859314 0.706334471 0.06044410100000001 Calling exit ...