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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 105.6 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.045/1.045, allocations: 175.8 MB / 478.4 MB, free: 8.457 MB / 382.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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: "" <> 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: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 72.92 kB / 0.6652 GB, free: 0.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1973/0.1993, allocations: 94.54 MB / 0.7575 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.6036/0.8029, allocations: 195.8 MB / 0.9488 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02068/0.8236, allocations: 14.4 MB / 0.9628 GB, free: 5.629 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001635/0.8252, allocations: 35.81 kB / 0.9629 GB, free: 5.594 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002008/0.8272, allocations: 0.5046 MB / 0.9634 GB, free: 5.086 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.005849/0.8331, allocations: 1.972 MB / 0.9653 GB, free: 3.105 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002658/0.8357, allocations: 0.8652 MB / 0.9661 GB, free: 2.246 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003553/0.8393, allocations: 2.57 MB / 0.9686 GB, free: 15.67 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001318/0.8406, allocations: 0.935 MB / 0.9696 GB, free: 14.71 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004791/0.8454, allocations: 1.851 MB / 0.9714 GB, free: 12.88 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00174/0.8471, allocations: 0.9756 MB / 0.9723 GB, free: 11.91 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0001965/0.8473, allocations: 108 kB / 0.9724 GB, free: 11.8 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002337/0.8497, allocations: 1.142 MB / 0.9735 GB, free: 10.66 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0005811/0.8502, allocations: 0.5025 MB / 0.974 GB, free: 10.15 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.00081/0.8511, allocations: 0.6416 MB / 0.9747 GB, free: 9.508 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.002973/0.854, allocations: 1.918 MB / 0.9765 GB, free: 7.586 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.854, allocations: 0 / 0.9765 GB, free: 7.586 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.663e-06/0.854, allocations: 0 / 0.9765 GB, free: 7.586 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.678e-05/0.8541, allocations: 0 / 0.9765 GB, free: 7.586 MB / 0.7637 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.002449/0.8565, allocations: 1.482 MB / 0.978 GB, free: 6.051 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/0.8566, allocations: 12.03 kB / 0.978 GB, free: 6.039 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001794/0.8567, allocations: 147.5 kB / 0.9781 GB, free: 5.887 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001364/0.8581, allocations: 266.9 kB / 0.9784 GB, free: 5.625 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001524/0.8596, allocations: 0.7928 MB / 0.9792 GB, free: 4.789 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.317e-05/0.8597, allocations: 74 kB / 0.9792 GB, free: 4.719 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000156/0.8599, allocations: 92 kB / 0.9793 GB, free: 4.629 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001802/0.8617, allocations: 1.173 MB / 0.9805 GB, free: 3.383 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.653e-05/0.8617, allocations: 3.938 kB / 0.9805 GB, free: 3.379 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.571e-05/0.8618, allocations: 44 kB / 0.9805 GB, free: 3.336 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.714e-05/0.8618, allocations: 38 kB / 0.9805 GB, free: 3.301 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/0.8632, allocations: 0.9015 MB / 0.9814 GB, free: 2.395 MB / 0.7637 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.006418/0.8697, allocations: 5.819 MB / 0.9871 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008932/0.8705, allocations: 0.515 MB / 0.9876 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004388/0.871, allocations: 301.9 kB / 0.9879 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000615/0.8716, allocations: 311.8 kB / 0.9882 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.157e-05/0.8716, allocations: 35 kB / 0.9882 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=49): time 2.134e-06/0.8716, allocations: 0 / 0.9882 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=49): time 0.0016/0.8732, allocations: 0.8069 MB / 0.989 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.8733, allocations: 63.78 kB / 0.9891 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009557/0.8742, allocations: 0.751 MB / 0.9898 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.869e-05/0.8743, allocations: 37.7 kB / 0.9898 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004185/0.8747, allocations: 0.5233 MB / 0.9904 GB, free: 8.664 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001801/0.8749, allocations: 186.4 kB / 0.9905 GB, free: 8.48 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002101/0.8751, allocations: 138.6 kB / 0.9907 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.8753, allocations: 338 kB / 0.991 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003854/0.8757, allocations: 249.8 kB / 0.9912 GB, free: 7.758 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007106/0.8764, allocations: 0.5546 MB / 0.9918 GB, free: 7.07 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/0.8775, allocations: 0.7956 MB / 0.9925 GB, free: 6.164 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.8775, allocations: 4 kB / 0.9925 GB, free: 6.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001399/0.8789, allocations: 0.8508 MB / 0.9934 GB, free: 5.301 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.678e-05/0.8789, allocations: 12 kB / 0.9934 GB, free: 5.289 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/0.8789, allocations: 8 kB / 0.9934 GB, free: 5.281 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.224e-05/0.879, allocations: 12 kB / 0.9934 GB, free: 5.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005753/0.8795, allocations: 155.7 kB / 0.9936 GB, free: 5.117 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.756e-05/0.8796, allocations: 19.88 kB / 0.9936 GB, free: 5.098 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000748/0.8803, allocations: 99.64 kB / 0.9937 GB, free: 5.004 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.958e-05/0.8804, allocations: 37.62 kB / 0.9937 GB, free: 4.969 MB / 0.7794 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.0005365/0.8809, allocations: 329.4 kB / 0.994 GB, free: 4.637 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/0.8811, allocations: 91.39 kB / 0.9941 GB, free: 4.547 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/0.8821, allocations: 0.6257 MB / 0.9947 GB, free: 3.91 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.8821, allocations: 4 kB / 0.9947 GB, free: 3.906 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.8821, allocations: 3.938 kB / 0.9947 GB, free: 3.902 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000748/0.8829, allocations: 0.5173 MB / 0.9952 GB, free: 3.375 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002604/0.8855, allocations: 1.671 MB / 0.9969 GB, free: 1.625 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.8855, allocations: 0 / 0.9969 GB, free: 1.625 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000508/0.886, allocations: 111.8 kB / 0.997 GB, free: 1.516 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.716e-06/0.886, allocations: 4 kB / 0.997 GB, free: 1.512 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.876e-05/0.886, allocations: 11.98 kB / 0.997 GB, free: 1.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.886, allocations: 4 kB / 0.997 GB, free: 1.496 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.8861, allocations: 4 kB / 0.997 GB, free: 1.492 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00138/0.8874, allocations: 1.027 MB / 0.998 GB, free: 436 kB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000398/0.8878, allocations: 224.5 kB / 0.9982 GB, free: 192 kB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.847e-05/0.8879, allocations: 12 kB / 0.9982 GB, free: 180 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004252/0.8884, allocations: 19.98 kB / 0.9982 GB, free: 160 kB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.914e-05/0.8884, allocations: 35.84 kB / 0.9983 GB, free: 124 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.621e-05/0.8885, allocations: 19.98 kB / 0.9983 GB, free: 104 kB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0006701/0.8891, allocations: 0.5146 MB / 0.9988 GB, free: 15.59 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8891, allocations: 0 / 0.9988 GB, free: 15.59 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0008606/0.89, allocations: 303.4 kB / 0.9991 GB, free: 15.3 MB / 0.795 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.002119/0.8921, allocations: 1.666 MB / 1.001 GB, free: 13.6 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001041/0.8932, allocations: 0.5842 MB / 1.001 GB, free: 13.02 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.8932, allocations: 4.625 kB / 1.001 GB, free: 13.01 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003736/0.8935, allocations: 259.7 kB / 1.002 GB, free: 12.76 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001838/0.8954, allocations: 451 kB / 1.002 GB, free: 12.33 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01029/0.9057, allocations: 7.236 MB / 1.009 GB, free: 4.699 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007973/0.9065, allocations: 1.118 MB / 1.01 GB, free: 3.555 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0008133/0.9073, allocations: 267 kB / 1.01 GB, free: 3.289 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000481/0.9078, allocations: 363.3 kB / 1.011 GB, free: 2.934 MB / 0.795 GB Notification: Performance of SimCode: time 1.082e-06/0.9078, allocations: 0 / 1.011 GB, free: 2.934 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06197/0.9697, allocations: 23.22 MB / 1.033 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.416/10.39, allocations: 8.047 kB / 1.033 GB, free: 12.06 MB / 0.8262 GB " [Timeout remaining time 650] (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: 14.12073339195922] Failed to read output from testmodel.py, exit status != 0: 10.472447351086885 10.494917992 9.636813664 Calling exit ...