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.001171/0.001171, allocations: 108.2 kB / 17.54 MB, free: 4.746 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.00114/0.00114, allocations: 186.7 kB / 20.71 MB, free: 1.586 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.279/1.279, allocations: 225.6 MB / 249.3 MB, free: 3.184 MB / 190.1 MB " [Timeout remaining time 179] 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 0.9687/0.9687, allocations: 175.7 MB / 480.1 MB, free: 3.188 MB / 366.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.00184/0.00184, allocations: 73.36 kB / 0.6678 GB, free: 10.88 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1569, allocations: 94.53 MB / 0.7601 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.5069/0.6638, allocations: 196.2 MB / 0.9517 GB, free: 3.066 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01673/0.6806, allocations: 14.49 MB / 0.9658 GB, free: 7.18 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009999/0.6816, allocations: 35.81 kB / 0.9659 GB, free: 7.145 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001357/0.6829, allocations: 0.5124 MB / 0.9664 GB, free: 6.629 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.004326/0.6873, allocations: 1.963 MB / 0.9683 GB, free: 4.66 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002214/0.6895, allocations: 0.8766 MB / 0.9692 GB, free: 3.789 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002991/0.6925, allocations: 2.585 MB / 0.9717 GB, free: 1.195 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001071/0.6935, allocations: 0.7946 MB / 0.9725 GB, free: 380 kB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004244/0.6978, allocations: 1.87 MB / 0.9743 GB, free: 14.52 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001446/0.6992, allocations: 0.9748 MB / 0.9752 GB, free: 13.55 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001682/0.6994, allocations: 104 kB / 0.9753 GB, free: 13.45 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002057/0.7014, allocations: 1.146 MB / 0.9765 GB, free: 12.3 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004992/0.7019, allocations: 0.5103 MB / 0.977 GB, free: 11.79 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000669/0.7026, allocations: 0.6416 MB / 0.9776 GB, free: 11.14 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002351/0.705, allocations: 1.915 MB / 0.9794 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.705, allocations: 4 kB / 0.9795 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.382e-06/0.705, allocations: 0 / 0.9795 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.157e-05/0.705, allocations: 0 / 0.9795 GB, free: 9.219 MB / 0.7169 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.00206/0.707, allocations: 1.482 MB / 0.9809 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.7071, allocations: 12.03 kB / 0.9809 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001686/0.7072, allocations: 143.6 kB / 0.981 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001265/0.7085, allocations: 267 kB / 0.9813 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001203/0.7097, allocations: 0.8005 MB / 0.9821 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.746e-05/0.7098, allocations: 70 kB / 0.9821 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001332/0.7099, allocations: 92 kB / 0.9822 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001635/0.7115, allocations: 1.173 MB / 0.9834 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.7116, allocations: 4 kB / 0.9834 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.123e-05/0.7116, allocations: 40 kB / 0.9834 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.851e-05/0.7117, allocations: 30 kB / 0.9835 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001356/0.713, allocations: 0.9054 MB / 0.9843 GB, free: 4.039 MB / 0.7169 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.005522/0.7186, allocations: 5.819 MB / 0.99 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008212/0.7194, allocations: 0.5082 MB / 0.9905 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000416/0.7198, allocations: 295.1 kB / 0.9908 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005733/0.7204, allocations: 315.7 kB / 0.9911 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.7204, allocations: 42.94 kB / 0.9911 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=49): time 1.603e-06/0.7204, allocations: 3.938 kB / 0.9911 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49): time 0.001426/0.7218, allocations: 0.8031 MB / 0.9919 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.7219, allocations: 59.84 kB / 0.992 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008676/0.7227, allocations: 0.7548 MB / 0.9927 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.336e-05/0.7228, allocations: 37.7 kB / 0.9928 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004055/0.7232, allocations: 0.5232 MB / 0.9933 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001566/0.7234, allocations: 182.5 kB / 0.9934 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001957/0.7236, allocations: 138.6 kB / 0.9936 GB, free: 9.973 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.7237, allocations: 334 kB / 0.9939 GB, free: 9.641 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003752/0.7241, allocations: 257.8 kB / 0.9941 GB, free: 9.387 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006935/0.7248, allocations: 0.5557 MB / 0.9947 GB, free: 8.699 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/0.7258, allocations: 0.7918 MB / 0.9955 GB, free: 7.797 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.7258, allocations: 0 / 0.9955 GB, free: 7.797 MB / 0.7325 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00124/0.727, allocations: 0.8547 MB / 0.9963 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.727, allocations: 8 kB / 0.9963 GB, free: 6.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.7271, allocations: 8 kB / 0.9963 GB, free: 6.922 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/0.7271, allocations: 12 kB / 0.9963 GB, free: 6.91 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005295/0.7276, allocations: 155.7 kB / 0.9965 GB, free: 6.758 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.01e-05/0.7276, allocations: 19.88 kB / 0.9965 GB, free: 6.738 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006681/0.7283, allocations: 100.8 kB / 0.9966 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.925e-05/0.7284, allocations: 35.98 kB / 0.9966 GB, free: 6.605 MB / 0.7325 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.0004054/0.7288, allocations: 332.8 kB / 0.9969 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000134/0.7289, allocations: 87.44 kB / 0.997 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009818/0.7299, allocations: 0.6218 MB / 0.9976 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.7299, allocations: 8 kB / 0.9976 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.7299, allocations: 7.938 kB / 0.9976 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007221/0.7306, allocations: 0.5134 MB / 0.9981 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00233/0.7329, allocations: 1.676 MB / 0.9998 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.733, allocations: 4 kB / 0.9998 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000495/0.7334, allocations: 103.9 kB / 0.9999 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.7335, allocations: 4 kB / 0.9999 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.629e-05/0.7335, allocations: 15.98 kB / 0.9999 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.695e-06/0.7335, allocations: 8 kB / 0.9999 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.7335, allocations: 4.641 kB / 0.9999 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/0.7348, allocations: 1.023 MB / 1.001 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002804/0.7351, allocations: 224.5 kB / 1.001 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.029e-05/0.7352, allocations: 12 kB / 1.001 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000428/0.7356, allocations: 27.92 kB / 1.001 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.393e-05/0.7357, allocations: 27.97 kB / 1.001 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.494e-05/0.7357, allocations: 19.92 kB / 1.001 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000641/0.7364, allocations: 0.5146 MB / 1.002 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.7364, allocations: 0 / 1.002 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008285/0.7372, allocations: 299.4 kB / 1.002 GB, free: 0.9375 MB / 0.7325 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.001957/0.7391, allocations: 1.678 MB / 1.004 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0009303/0.7401, allocations: 0.5814 MB / 1.004 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.7401, allocations: 0 / 1.004 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003849/0.7405, allocations: 271.2 kB / 1.004 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001772/0.7422, allocations: 440.9 kB / 1.005 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009647/0.7519, allocations: 7.236 MB / 1.012 GB, free: 6.332 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009382/0.7528, allocations: 1.122 MB / 1.013 GB, free: 5.184 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0007544/0.7536, allocations: 267 kB / 1.013 GB, free: 4.918 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004754/0.7541, allocations: 363.3 kB / 1.014 GB, free: 4.562 MB / 0.7481 GB Notification: Performance of SimCode: time 7.91e-07/0.7541, allocations: 0 / 1.014 GB, free: 4.562 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05419/0.8082, allocations: 23.25 MB / 1.036 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.681/9.489, allocations: 23.59 kB / 1.036 GB, free: 13.61 MB / 0.7794 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 --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: 12.866905457995017]