Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.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.0007581/0.0007581, allocations: 105.5 kB / 18.95 MB, free: 1.188 MB / 13.93 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.0008506/0.0008506, allocations: 208.1 kB / 22.25 MB, free: 3.574 MB / 13.93 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 0.9881/0.9881, allocations: 230.6 MB / 256 MB, free: 9.621 MB / 202.7 MB " [Timeout remaining time 179] 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 0.7893/0.7893, allocations: 203.8 MB / 0.5042 GB, free: 10.43 MB / 410.7 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) [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.001062/0.001062, allocations: 66.33 kB / 0.7182 GB, free: 4.035 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5942/0.5952, allocations: 102 MB / 0.8178 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.175/0.7702, allocations: 172.7 MB / 0.9865 GB, free: 8.348 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01235/0.7826, allocations: 13.18 MB / 0.9994 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001245/0.7838, allocations: 47.62 kB / 0.9994 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001301/0.7851, allocations: 496.8 kB / 0.9999 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.003728/0.7889, allocations: 1.945 MB / 1.002 GB, free: 8.648 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001882/0.7907, allocations: 0.8979 MB / 1.003 GB, free: 7.754 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.002788/0.7935, allocations: 2.608 MB / 1.005 GB, free: 5.137 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001089/0.7946, allocations: 0.7914 MB / 1.006 GB, free: 4.32 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003885/0.7985, allocations: 1.898 MB / 1.008 GB, free: 2.438 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001352/0.7998, allocations: 0.9288 MB / 1.009 GB, free: 1.508 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001473/0.8, allocations: 108 kB / 1.009 GB, free: 1.402 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001591/0.8016, allocations: 0.9196 MB / 1.01 GB, free: 492 kB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0004095/0.802, allocations: 0.5103 MB / 1.01 GB, free: 15.97 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0005252/0.8025, allocations: 0.5329 MB / 1.011 GB, free: 15.43 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.002318/0.8048, allocations: 1.9 MB / 1.013 GB, free: 13.53 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.8048, allocations: 0 / 1.013 GB, free: 13.53 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.394e-06/0.8048, allocations: 0 / 1.013 GB, free: 13.53 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 3.035e-05/0.8049, allocations: 0 / 1.013 GB, free: 13.53 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.001857/0.8067, allocations: 1.407 MB / 1.014 GB, free: 12.09 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.8068, allocations: 12.03 kB / 1.014 GB, free: 12.07 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001287/0.8069, allocations: 143.5 kB / 1.014 GB, free: 11.93 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009124/0.8078, allocations: 266.9 kB / 1.014 GB, free: 11.66 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009836/0.8088, allocations: 0.7331 MB / 1.015 GB, free: 10.9 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.676e-05/0.8089, allocations: 70 kB / 1.015 GB, free: 10.83 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.809, allocations: 92 kB / 1.015 GB, free: 10.74 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/0.8103, allocations: 1.298 MB / 1.017 GB, free: 9.344 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/0.8103, allocations: 3.953 kB / 1.017 GB, free: 9.34 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.631e-05/0.8104, allocations: 43.94 kB / 1.017 GB, free: 9.297 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.513e-05/0.8104, allocations: 37.98 kB / 1.017 GB, free: 9.258 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009457/0.8114, allocations: 0.8976 MB / 1.017 GB, free: 8.359 MB / 0.7917 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.003765/0.8151, allocations: 4.138 MB / 1.022 GB, free: 4.09 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006204/0.8158, allocations: 0.5201 MB / 1.022 GB, free: 3.559 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002978/0.8161, allocations: 294.6 kB / 1.022 GB, free: 3.266 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002886/0.8164, allocations: 84.36 kB / 1.022 GB, free: 3.184 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.8164, allocations: 39 kB / 1.022 GB, free: 3.137 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=49): time 3.326e-06/0.8164, allocations: 0 / 1.022 GB, free: 3.137 MB / 0.7917 GB Notification: Performance of matching and sorting (n=49): time 0.001083/0.8175, allocations: 0.8069 MB / 1.023 GB, free: 2.324 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.8175, allocations: 59.83 kB / 1.023 GB, free: 2.25 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006801/0.8182, allocations: 0.7587 MB / 1.024 GB, free: 1.484 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 4.397e-05/0.8182, allocations: 37.7 kB / 1.024 GB, free: 1.441 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002709/0.8185, allocations: 0.5233 MB / 1.025 GB, free: 0.9102 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.8186, allocations: 186.5 kB / 1.025 GB, free: 0.7266 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001434/0.8188, allocations: 138.6 kB / 1.025 GB, free: 0.582 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 9.477e-05/0.8189, allocations: 337.9 kB / 1.025 GB, free: 252 kB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00025/0.8191, allocations: 253.8 kB / 1.025 GB, free: 0 / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006704/0.8198, allocations: 0.823 MB / 1.026 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000689/0.8205, allocations: 0.8034 MB / 1.027 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.8205, allocations: 4 kB / 1.027 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008826/0.8214, allocations: 0.8511 MB / 1.028 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.8214, allocations: 8 kB / 1.028 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.8214, allocations: 8 kB / 1.028 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.8214, allocations: 16.06 kB / 1.028 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003322/0.8217, allocations: 151.8 kB / 1.028 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.962e-05/0.8218, allocations: 19.92 kB / 1.028 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004476/0.8222, allocations: 95.28 kB / 1.028 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.623e-05/0.8223, allocations: 32 kB / 1.028 GB, free: 12.88 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (86): * Single equations (assignments): 86 * 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.000391/0.8227, allocations: 329.5 kB / 1.028 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.727e-05/0.8227, allocations: 91.44 kB / 1.029 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006735/0.8234, allocations: 0.6257 MB / 1.029 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.8234, allocations: 4 kB / 1.029 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.8234, allocations: 0 / 1.029 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004854/0.8239, allocations: 0.5211 MB / 1.03 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001729/0.8256, allocations: 1.549 MB / 1.031 GB, free: 9.668 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.8256, allocations: 7.969 kB / 1.031 GB, free: 9.66 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003114/0.826, allocations: 107.9 kB / 1.031 GB, free: 9.555 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.826, allocations: 0 / 1.031 GB, free: 9.555 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.675e-05/0.826, allocations: 19.98 kB / 1.031 GB, free: 9.535 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.826, allocations: 4 kB / 1.031 GB, free: 9.531 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.826, allocations: 4 kB / 1.031 GB, free: 9.527 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009355/0.8269, allocations: 1.019 MB / 1.032 GB, free: 8.473 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002513/0.8272, allocations: 151.3 kB / 1.032 GB, free: 8.324 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.222e-05/0.8272, allocations: 19.98 kB / 1.033 GB, free: 8.305 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002439/0.8275, allocations: 16 kB / 1.033 GB, free: 8.289 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.91e-05/0.8275, allocations: 39.88 kB / 1.033 GB, free: 8.25 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.647e-05/0.8276, allocations: 19.98 kB / 1.033 GB, free: 8.23 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0006525/0.8282, allocations: 0.5146 MB / 1.033 GB, free: 7.719 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.8282, allocations: 0 / 1.033 GB, free: 7.719 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0007222/0.8289, allocations: 299.4 kB / 1.033 GB, free: 7.426 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,vol.dynBal.mC[1]) * 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 (49): * Single equations (assignments): 49 * 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.00144/0.8304, allocations: 1.653 MB / 1.035 GB, free: 5.73 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0007777/0.8312, allocations: 0.5911 MB / 1.036 GB, free: 5.141 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/0.8312, allocations: 3.938 kB / 1.036 GB, free: 5.137 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0002331/0.8314, allocations: 265.4 kB / 1.036 GB, free: 4.879 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.8325, allocations: 434.1 kB / 1.036 GB, free: 4.477 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007219/0.8398, allocations: 7.242 MB / 1.043 GB, free: 12.84 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000409/0.8402, allocations: 0.5355 MB / 1.044 GB, free: 12.27 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0006959/0.8409, allocations: 267.1 kB / 1.044 GB, free: 12 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003353/0.8412, allocations: 359.3 kB / 1.044 GB, free: 11.65 MB / 0.823 GB Notification: Performance of SimCode: time 9.42e-07/0.8412, allocations: 0 / 1.044 GB, free: 11.65 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04281/0.884, allocations: 25.43 MB / 1.069 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.343/8.227, allocations: 26.56 kB / 1.069 GB, free: 2.711 MB / 0.8386 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TraceSubstances.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.264385894872248] Failed to read output from testmodel.py, exit status != 0: 8.3189900778234 8.327233995 7.520576171 Calling exit ...