Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008967/0.0008967, allocations: 176.7 kB / 15.82 MB, free: 6.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.567/1.567, allocations: 205.4 MB / 222 MB, free: 13.84 MB / 186.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008837/0.0008841, allocations: 98.28 kB / 270.3 MB, free: 13.37 MB / 234.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0772/0.0772, allocations: 12.6 MB / 331.2 MB, free: 10.31 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0005616/0.0005617, allocations: 12.97 kB / 392.1 MB, free: 54.8 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1069, allocations: 50.39 MB / 442.5 MB, free: 10.85 MB / 282.8 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.002135/0.1091, allocations: 1.723 MB / 444.2 MB, free: 9.109 MB / 282.8 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.1102, allocations: 0.5586 MB / 444.8 MB, free: 8.551 MB / 282.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002116/0.1105, allocations: 0 / 444.8 MB, free: 8.551 MB / 282.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001158/0.1106, allocations: 15.8 kB / 444.8 MB, free: 8.535 MB / 282.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000332/0.111, allocations: 63.61 kB / 444.9 MB, free: 8.473 MB / 282.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003357/0.1113, allocations: 39.94 kB / 444.9 MB, free: 8.434 MB / 282.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003051/0.1116, allocations: 227.1 kB / 445.1 MB, free: 8.211 MB / 282.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.1118, allocations: 49.45 kB / 445.2 MB, free: 8.168 MB / 282.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001778/0.112, allocations: 95.44 kB / 445.3 MB, free: 8.074 MB / 282.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001825/0.1122, allocations: 111.4 kB / 445.4 MB, free: 7.965 MB / 282.8 MB Notification: Performance of NFPackage.collectConstants: time 5.085e-05/0.1122, allocations: 16 kB / 445.4 MB, free: 7.949 MB / 282.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.877e-05/0.1123, allocations: 12 kB / 445.4 MB, free: 7.938 MB / 282.8 MB Notification: Performance of NFScalarize.scalarize: time 7.378e-05/0.1124, allocations: 51.69 kB / 445.5 MB, free: 7.887 MB / 282.8 MB Notification: Performance of NFVerifyModel.verify: time 6.177e-05/0.1124, allocations: 57.58 kB / 445.5 MB, free: 7.824 MB / 282.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.1126, allocations: 155.9 kB / 445.7 MB, free: 7.672 MB / 282.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.1126, allocations: 4 kB / 445.7 MB, free: 7.668 MB / 282.8 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1126, allocations: 3.938 kB / 445.7 MB, free: 7.664 MB / 282.8 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.1126, allocations: 0 / 445.7 MB, free: 7.664 MB / 282.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.001381/0.114, allocations: 0.576 MB / 446.3 MB, free: 7.039 MB / 282.8 MB Notification: Performance of prepare preOptimizeDAE: time 7.473e-05/0.1141, allocations: 12.03 kB / 446.3 MB, free: 7.027 MB / 282.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.155e-05/0.1142, allocations: 46.55 kB / 446.3 MB, free: 6.973 MB / 282.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.1143, allocations: 31.62 kB / 446.3 MB, free: 6.941 MB / 282.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005036/0.1148, allocations: 302.9 kB / 446.6 MB, free: 6.605 MB / 282.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.1149, allocations: 4 kB / 446.6 MB, free: 6.602 MB / 282.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.617e-05/0.1149, allocations: 12 kB / 446.7 MB, free: 6.59 MB / 282.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003277/0.1153, allocations: 129.5 kB / 446.8 MB, free: 6.457 MB / 282.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.1153, allocations: 0 / 446.8 MB, free: 6.457 MB / 282.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/0.1153, allocations: 4 kB / 446.8 MB, free: 6.453 MB / 282.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.1153, allocations: 11.98 kB / 446.8 MB, free: 6.441 MB / 282.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001911/0.1155, allocations: 75.97 kB / 446.9 MB, free: 6.367 MB / 282.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009517/0.1165, allocations: 0.5198 MB / 447.4 MB, free: 5.797 MB / 282.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005838/0.1171, allocations: 182.7 kB / 447.6 MB, free: 5.609 MB / 282.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001207/0.1172, allocations: 56.84 kB / 447.6 MB, free: 5.551 MB / 282.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/0.1173, allocations: 0 / 447.6 MB, free: 5.551 MB / 282.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.1173, allocations: 42.52 kB / 447.7 MB, free: 5.5 MB / 282.8 MB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.1173, allocations: 0 / 447.7 MB, free: 5.5 MB / 282.8 MB Notification: Performance of matching and sorting (n=16): time 0.001543/0.1188, allocations: 0.6904 MB / 448.4 MB, free: 4.758 MB / 282.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/0.1189, allocations: 51.41 kB / 448.4 MB, free: 4.695 MB / 282.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003917/0.1193, allocations: 336.6 kB / 448.7 MB, free: 4.352 MB / 282.8 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.1193, allocations: 33.7 kB / 448.8 MB, free: 4.312 MB / 282.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/0.1195, allocations: 156.3 kB / 448.9 MB, free: 4.152 MB / 282.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.27e-05/0.1196, allocations: 59.11 kB / 449 MB, free: 4.094 MB / 282.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.188e-06/0.1196, allocations: 4 kB / 449 MB, free: 4.09 MB / 282.8 MB Notification: Performance of setup shared object (initialization): time 7.132e-05/0.1197, allocations: 342.8 kB / 449.3 MB, free: 3.746 MB / 282.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.1198, allocations: 60.34 kB / 449.4 MB, free: 3.688 MB / 282.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.1199, allocations: 64.72 kB / 449.4 MB, free: 3.625 MB / 282.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.1201, allocations: 72.94 kB / 449.5 MB, free: 3.555 MB / 282.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.1201, allocations: 0 / 449.5 MB, free: 3.555 MB / 282.8 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000322/0.1204, allocations: 217.5 kB / 449.7 MB, free: 3.336 MB / 282.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.1204, allocations: 8 kB / 449.7 MB, free: 3.328 MB / 282.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1204, allocations: 3.938 kB / 449.7 MB, free: 3.324 MB / 282.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.1205, allocations: 0 / 449.7 MB, free: 3.324 MB / 282.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002793/0.1207, allocations: 67.89 kB / 449.8 MB, free: 3.258 MB / 282.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/0.1208, allocations: 0 / 449.8 MB, free: 3.258 MB / 282.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/0.1209, allocations: 8 kB / 449.8 MB, free: 3.25 MB / 282.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.1209, allocations: 4 kB / 449.8 MB, free: 3.246 MB / 282.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (21): * Single equations (assignments): 21 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001142/0.1211, allocations: 141.5 kB / 449.9 MB, free: 3.098 MB / 282.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.38e-05/0.1211, allocations: 35.58 kB / 450 MB, free: 3.062 MB / 282.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003834/0.1215, allocations: 228.6 kB / 450.2 MB, free: 2.832 MB / 282.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.1215, allocations: 4 kB / 450.2 MB, free: 2.828 MB / 282.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.1215, allocations: 0 / 450.2 MB, free: 2.828 MB / 282.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.1215, allocations: 0 / 450.2 MB, free: 2.828 MB / 282.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004061/0.122, allocations: 321.4 kB / 450.5 MB, free: 2.465 MB / 282.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.122, allocations: 0 / 450.5 MB, free: 2.465 MB / 282.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003414/0.1223, allocations: 67.89 kB / 450.6 MB, free: 2.398 MB / 282.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.1223, allocations: 3.953 kB / 450.6 MB, free: 2.395 MB / 282.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.317e-05/0.1224, allocations: 7.984 kB / 450.6 MB, free: 2.387 MB / 282.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.1224, allocations: 8 kB / 450.6 MB, free: 2.379 MB / 282.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1224, allocations: 0 / 450.6 MB, free: 2.379 MB / 282.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004834/0.1229, allocations: 389.7 kB / 451 MB, free: 1.984 MB / 282.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.944e-05/0.1229, allocations: 100.7 kB / 451.1 MB, free: 1.867 MB / 282.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.896e-05/0.123, allocations: 12.02 kB / 451.1 MB, free: 1.855 MB / 282.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002013/0.1232, allocations: 15.98 kB / 451.1 MB, free: 1.84 MB / 282.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.359e-05/0.1232, allocations: 7.984 kB / 451.1 MB, free: 1.832 MB / 282.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.1233, allocations: 11.92 kB / 451.1 MB, free: 1.82 MB / 282.8 MB Notification: Performance of sorting global known variables: time 0.0002149/0.1235, allocations: 251.1 kB / 451.4 MB, free: 1.574 MB / 282.8 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1235, allocations: 0 / 451.4 MB, free: 1.574 MB / 282.8 MB Notification: Performance of remove unused functions: time 0.0002496/0.1237, allocations: 40 kB / 451.4 MB, free: 1.535 MB / 282.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (invMixingUnit.c,invMixingUnit.T,filter.x[1],mixingUnit.c,mixingUnit.T) * 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 (18): * Single equations (assignments): 18 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007791/0.1245, allocations: 0.9267 MB / 452.3 MB, free: 0.582 MB / 282.8 MB Notification: Performance of simCode: created initialization part: time 0.0002879/0.1248, allocations: 152.6 kB / 452.5 MB, free: 444 kB / 282.8 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1248, allocations: 0 / 452.5 MB, free: 444 kB / 282.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.125, allocations: 89.78 kB / 452.6 MB, free: 356 kB / 282.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.1254, allocations: 40.89 kB / 452.6 MB, free: 312 kB / 282.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003428/0.1288, allocations: 2.024 MB / 454.6 MB, free: 14.23 MB / 298.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005545/0.1294, allocations: 0.7638 MB / 455.4 MB, free: 13.44 MB / 298.8 MB Notification: Performance of simCode: alias equations: time 0.0001338/0.1295, allocations: 30.28 kB / 455.4 MB, free: 13.41 MB / 298.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001741/0.1297, allocations: 103.4 kB / 455.5 MB, free: 13.32 MB / 298.8 MB Notification: Performance of SimCode: time 2.214e-06/0.1297, allocations: 0 / 455.5 MB, free: 13.32 MB / 298.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.019/0.1487, allocations: 5.182 MB / 460.7 MB, free: 8.129 MB / 298.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000282/0.149, allocations: 258.6 kB / 461 MB, free: 7.789 MB / 298.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.42/2.569, allocations: 3.953 kB / 461 MB, free: 7.785 MB / 298.8 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat does not exist to compare? outputFormat=mat