Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001109/0.001109, allocations: 94.45 kB / 16.98 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001427/0.001427, allocations: 198 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.511/1.511, allocations: 227.3 MB / 245.9 MB, free: 10.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1957/0.1957, allocations: 45.92 MB / 344 MB, free: 12.11 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003185/0.0003187, allocations: 4 kB / 418.1 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1451, allocations: 63.46 MB / 481.5 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.3461/0.4912, allocations: 63.52 MB / 0.5323 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03525/0.5265, allocations: 28.5 MB / 0.5601 GB, free: 6.254 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003062/0.5296, allocations: 48.97 kB / 0.5601 GB, free: 6.227 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003678/0.5333, allocations: 0.903 MB / 0.561 GB, free: 5.449 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01582/0.5491, allocations: 4.02 MB / 0.5649 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01673/0.5659, allocations: 5.312 MB / 0.5701 GB, free: 14.27 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005816/0.5717, allocations: 3.003 MB / 0.5731 GB, free: 11.81 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001952/0.5737, allocations: 1.079 MB / 0.5741 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01229/0.586, allocations: 7.204 MB / 0.5812 GB, free: 3.488 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002447/0.5885, allocations: 1.047 MB / 0.5822 GB, free: 2.438 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004155/0.5889, allocations: 104 kB / 0.5823 GB, free: 2.336 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0158/0.6047, allocations: 7 MB / 0.5891 GB, free: 11.33 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009695/0.6057, allocations: 0.5883 MB / 0.5897 GB, free: 10.74 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008757/0.6066, allocations: 400.8 kB / 0.5901 GB, free: 10.34 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01071/0.6173, allocations: 4.6 MB / 0.5946 GB, free: 5.73 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.6173, allocations: 0 / 0.5946 GB, free: 5.73 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.6174, allocations: 4 kB / 0.5946 GB, free: 5.727 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.318e-05/0.6174, allocations: 0 / 0.5946 GB, free: 5.727 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 441 * Number of variables: 441 Notification: Performance of Generate backend data structure: time 0.006344/0.6238, allocations: 2.468 MB / 0.597 GB, free: 3.203 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.6238, allocations: 12.02 kB / 0.597 GB, free: 3.191 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004234/0.6243, allocations: 277.1 kB / 0.5973 GB, free: 2.91 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006179/0.6304, allocations: 0.8447 MB / 0.5981 GB, free: 2.062 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002696/0.6332, allocations: 1.017 MB / 0.5991 GB, free: 1 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004476/0.6336, allocations: 460.4 kB / 0.5995 GB, free: 500 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003676/0.634, allocations: 171.9 kB / 0.5997 GB, free: 328 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007491/0.6415, allocations: 3.181 MB / 0.6028 GB, free: 12.88 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.131e-05/0.6416, allocations: 11.88 kB / 0.6028 GB, free: 12.87 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002345/0.6418, allocations: 84 kB / 0.6029 GB, free: 12.79 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.533e-05/0.6419, allocations: 82.67 kB / 0.603 GB, free: 12.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007634/0.6496, allocations: 2.797 MB / 0.6057 GB, free: 9.898 MB / 446.1 MB 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.01791/0.6675, allocations: 15.8 MB / 0.6211 GB, free: 9 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004242/0.6718, allocations: 1.466 MB / 0.6225 GB, free: 7.523 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001117/0.6729, allocations: 0.7141 MB / 0.6232 GB, free: 6.699 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/0.673, allocations: 47.56 kB / 0.6233 GB, free: 6.645 MB / 462.1 MB Notification: Performance of pre-optimization done (n=101): time 2.665e-06/0.673, allocations: 0 / 0.6233 GB, free: 6.645 MB / 462.1 MB Notification: Performance of matching and sorting (n=117): time 0.01666/0.6897, allocations: 5.503 MB / 0.6287 GB, free: 1.066 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8e-05/0.6898, allocations: 175.2 kB / 0.6288 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001705/0.6915, allocations: 1.445 MB / 0.6302 GB, free: 15.4 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001228/0.6916, allocations: 49.7 kB / 0.6303 GB, free: 15.35 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006008/0.6922, allocations: 0.936 MB / 0.6312 GB, free: 14.4 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003335/0.6926, allocations: 418.2 kB / 0.6316 GB, free: 13.98 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.072e-05/0.6927, allocations: 48 kB / 0.6317 GB, free: 13.94 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.6929, allocations: 398.5 kB / 0.632 GB, free: 13.54 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001549/0.6944, allocations: 0.711 MB / 0.6327 GB, free: 12.83 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00226/0.6967, allocations: 1.95 MB / 0.6346 GB, free: 10.26 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001916/0.6986, allocations: 1.033 MB / 0.6356 GB, free: 9.227 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.722e-05/0.6986, allocations: 12 kB / 0.6356 GB, free: 9.215 MB / 478.1 MB Notification: Performance of matching and sorting (n=293) (initialization): time 0.005428/0.7041, allocations: 2.893 MB / 0.6385 GB, free: 6.301 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.365e-05/0.7041, allocations: 24 kB / 0.6385 GB, free: 6.277 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.32e-05/0.7042, allocations: 44 kB / 0.6385 GB, free: 6.234 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001328/0.7055, allocations: 443.9 kB / 0.639 GB, free: 5.789 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001751/0.7073, allocations: 0.5498 MB / 0.6395 GB, free: 5.238 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002/0.7093, allocations: 2.736 MB / 0.6422 GB, free: 2.398 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002083/0.7114, allocations: 227.8 kB / 0.6424 GB, free: 2.176 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002138/0.7116, allocations: 136 kB / 0.6425 GB, free: 2.043 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 193 * Number of states: 0 () * Number of discrete variables: 28 (sink2.medium.phase,source2.medium.phase,sink1.medium.phase,source1.medium.phase,volume1_1.heatTransfer.states[1].phase,volume1_2.heatTransfer.states[1].phase,volume2_1.heatTransfer.states[1].phase,volume2_2.heatTransfer.states[1].phase,volume1_1.regularFlow[1],volume1_1.regularFlow[2],volume1_1.regularFlow[3],volume1_2.regularFlow[1],volume1_2.regularFlow[2],volume1_2.regularFlow[3],volume2_1.regularFlow[1],volume2_1.regularFlow[2],volume2_2.regularFlow[1],volume2_2.regularFlow[2],volume2_2.inFlow[2],volume2_2.inFlow[1],volume2_1.inFlow[2],volume2_1.inFlow[1],volume1_2.inFlow[3],volume1_2.inFlow[2],volume1_2.inFlow[1],volume1_1.inFlow[3],volume1_1.inFlow[2],volume1_1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (265): * Single equations (assignments): 261 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 7,1 7,1 7,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0009019/0.7125, allocations: 0.5475 MB / 0.6431 GB, free: 1.484 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002933/0.7128, allocations: 173.9 kB / 0.6432 GB, free: 1.312 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006808/0.7197, allocations: 5.098 MB / 0.6482 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.259e-05/0.7197, allocations: 47.92 kB / 0.6482 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-06/0.7198, allocations: 0 / 0.6482 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-05/0.7198, allocations: 7.984 kB / 0.6483 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01052/0.7303, allocations: 7.216 MB / 0.6553 GB, free: 4.727 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.7304, allocations: 8.062 kB / 0.6553 GB, free: 4.719 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00108/0.7314, allocations: 299.9 kB / 0.6556 GB, free: 4.426 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001309/0.7328, allocations: 435.1 kB / 0.656 GB, free: 3.988 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.718e-05/0.7329, allocations: 35.98 kB / 0.656 GB, free: 3.953 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002059/0.7349, allocations: 2.779 MB / 0.6588 GB, free: 1.07 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.654e-06/0.7349, allocations: 7.969 kB / 0.6588 GB, free: 1.062 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007068/0.742, allocations: 4.353 MB / 0.663 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001559/0.7436, allocations: 0.5594 MB / 0.6636 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003267/0.744, allocations: 24 kB / 0.6636 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001215/0.7452, allocations: 143.7 kB / 0.6637 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002471/0.7455, allocations: 116.8 kB / 0.6638 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-05/0.7456, allocations: 43.98 kB / 0.6639 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001866/0.7474, allocations: 1.217 MB / 0.6651 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/0.7474, allocations: 4 kB / 0.6651 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006002/0.7534, allocations: 1.417 MB / 0.6664 GB, free: 8.961 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 4 (volume1_1.medium.h,volume1_2.medium.h,volume2_1.medium.h,volume2_2.medium.h) * Number of discrete variables: 32 ($cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,volume1_1.heatTransfer.states[1].phase,source1.medium.phase,volume1_2.heatTransfer.states[1].phase,sink1.medium.phase,volume2_1.heatTransfer.states[1].phase,source2.medium.phase,volume2_2.heatTransfer.states[1].phase,sink2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 5,2 5,2 5,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.01322/0.7667, allocations: 6.829 MB / 0.6731 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00505/0.7718, allocations: 2.294 MB / 0.6754 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/0.7718, allocations: 4.688 kB / 0.6754 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002403/0.7742, allocations: 1.386 MB / 0.6767 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004336/0.7786, allocations: 0.8707 MB / 0.6776 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2765/1.055, allocations: 43.08 MB / 0.7196 GB, free: 176.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001755/1.057, allocations: 1.697 MB / 0.7213 GB, free: 176.1 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002908/1.06, allocations: 0.9598 MB / 0.7222 GB, free: 176.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009893/1.061, allocations: 0.9383 MB / 0.7231 GB, free: 175.7 MB / 0.5294 GB Notification: Performance of SimCode: time 8.72e-07/1.061, allocations: 3.656 kB / 0.7231 GB, free: 175.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1252/1.186, allocations: 86.61 MB / 0.8077 GB, free: 103.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000142/1.186, allocations: 270.5 kB / 0.808 GB, free: 103.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.685/6.872, allocations: 0 / 0.808 GB, free: 103.3 MB / 0.5294 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2_res.mat does not exist to compare? outputFormat=mat