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.002299/0.002298, allocations: 185.5 kB / 15.81 MB, free: 6.348 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.225/2.225, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001154/0.001154, allocations: 98.84 kB / 270.3 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1407/0.1407, allocations: 12.59 MB / 331.1 MB, free: 10.31 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005997/0.0006, allocations: 15.41 kB / 392.1 MB, free: 54.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09909/0.09974, allocations: 50.37 MB / 442.5 MB, free: 10.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.00248/0.1023, allocations: 1.715 MB / 444.2 MB, free: 9.117 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001304/0.1036, allocations: 0.5704 MB / 444.8 MB, free: 8.547 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001925/0.1039, allocations: 4 kB / 444.8 MB, free: 8.543 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000115/0.104, allocations: 11.86 kB / 444.8 MB, free: 8.531 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003479/0.1044, allocations: 63.7 kB / 444.9 MB, free: 8.469 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002336/0.1046, allocations: 51.81 kB / 444.9 MB, free: 8.418 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003454/0.105, allocations: 163.6 kB / 445.1 MB, free: 8.258 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001721/0.1052, allocations: 49.47 kB / 445.1 MB, free: 8.215 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000188/0.1054, allocations: 87.55 kB / 445.2 MB, free: 8.129 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002205/0.1056, allocations: 119.4 kB / 445.3 MB, free: 8.012 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.95e-05/0.1057, allocations: 8 kB / 445.3 MB, free: 8.004 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.114e-05/0.1057, allocations: 12 kB / 445.3 MB, free: 7.992 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.426e-05/0.1058, allocations: 51.75 kB / 445.4 MB, free: 7.941 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.855e-05/0.1059, allocations: 57.58 kB / 445.4 MB, free: 7.879 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002231/0.1061, allocations: 159.9 kB / 445.6 MB, free: 7.723 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.1061, allocations: 0 / 445.6 MB, free: 7.723 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.1061, allocations: 0 / 445.6 MB, free: 7.723 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.898e-05/0.1062, allocations: 0 / 445.6 MB, free: 7.723 MB / 282.7 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.001373/0.1076, allocations: 0.5682 MB / 446.2 MB, free: 7.105 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.1076, allocations: 11.97 kB / 446.2 MB, free: 7.094 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.764e-05/0.1077, allocations: 46.56 kB / 446.2 MB, free: 7.039 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.945e-05/0.1078, allocations: 35.61 kB / 446.3 MB, free: 7.004 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000479/0.1083, allocations: 302.9 kB / 446.5 MB, free: 6.668 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.1083, allocations: 8 kB / 446.6 MB, free: 6.66 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.842e-05/0.1084, allocations: 15.98 kB / 446.6 MB, free: 6.645 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003697/0.1088, allocations: 129.4 kB / 446.7 MB, free: 6.512 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.1088, allocations: 0 / 446.7 MB, free: 6.512 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.1088, allocations: 4 kB / 446.7 MB, free: 6.508 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.1088, allocations: 4 kB / 446.7 MB, free: 6.504 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002816/0.1091, allocations: 79.95 kB / 446.8 MB, free: 6.426 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001168/0.1103, allocations: 0.5276 MB / 447.3 MB, free: 5.848 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007734/0.1111, allocations: 178.7 kB / 447.5 MB, free: 5.664 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.637e-05/0.1112, allocations: 4 kB / 447.5 MB, free: 5.66 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.1112, allocations: 38.52 kB / 447.5 MB, free: 5.613 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 2.595e-06/0.1113, allocations: 0 / 447.5 MB, free: 5.613 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.002272/0.1135, allocations: 0.6707 MB / 448.2 MB, free: 4.891 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/0.1136, allocations: 55.41 kB / 448.3 MB, free: 4.824 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004948/0.1141, allocations: 332.6 kB / 448.6 MB, free: 4.484 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.065e-05/0.1142, allocations: 29.7 kB / 448.6 MB, free: 4.449 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.1143, allocations: 160.3 kB / 448.8 MB, free: 4.285 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.457e-05/0.1144, allocations: 63.11 kB / 448.8 MB, free: 4.223 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.453e-05/0.1144, allocations: 0 / 448.8 MB, free: 4.223 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.277e-05/0.1145, allocations: 342.8 kB / 449.2 MB, free: 3.879 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002221/0.1147, allocations: 68.28 kB / 449.2 MB, free: 3.812 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001971/0.115, allocations: 64.66 kB / 449.3 MB, free: 3.75 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002345/0.1152, allocations: 68.92 kB / 449.4 MB, free: 3.684 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1152, allocations: 0 / 449.4 MB, free: 3.684 MB / 282.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006067/0.1158, allocations: 225.5 kB / 449.6 MB, free: 3.457 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.1159, allocations: 4 kB / 449.6 MB, free: 3.453 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.1159, allocations: 0 / 449.6 MB, free: 3.453 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.1159, allocations: 0 / 449.6 MB, free: 3.453 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005278/0.1165, allocations: 63.91 kB / 449.6 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.1165, allocations: 0 / 449.6 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002942/0.1168, allocations: 11.92 kB / 449.7 MB, free: 3.379 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.41e-05/0.1168, allocations: 8 kB / 449.7 MB, free: 3.371 MB / 282.7 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.0001617/0.117, allocations: 137.6 kB / 449.8 MB, free: 3.227 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.875e-05/0.1171, allocations: 31.58 kB / 449.8 MB, free: 3.195 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006402/0.1178, allocations: 236.5 kB / 450.1 MB, free: 2.957 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.1178, allocations: 4 kB / 450.1 MB, free: 2.953 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.1178, allocations: 0 / 450.1 MB, free: 2.953 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.1178, allocations: 0 / 450.1 MB, free: 2.953 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004669/0.1183, allocations: 333.4 kB / 450.4 MB, free: 2.578 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.1183, allocations: 0 / 450.4 MB, free: 2.578 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006958/0.119, allocations: 55.95 kB / 450.4 MB, free: 2.523 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.866e-06/0.1191, allocations: 3.953 kB / 450.4 MB, free: 2.52 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.643e-05/0.1191, allocations: 8 kB / 450.5 MB, free: 2.512 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.1191, allocations: 3.984 kB / 450.5 MB, free: 2.508 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.185e-06/0.1191, allocations: 0 / 450.5 MB, free: 2.508 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008552/0.12, allocations: 397.6 kB / 450.8 MB, free: 2.105 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.1202, allocations: 108.8 kB / 451 MB, free: 1.98 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.345e-05/0.1202, allocations: 3.953 kB / 451 MB, free: 1.977 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003455/0.1206, allocations: 11.98 kB / 451 MB, free: 1.965 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.29e-05/0.1207, allocations: 11.98 kB / 451 MB, free: 1.953 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.25e-05/0.1207, allocations: 4 kB / 451 MB, free: 1.949 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003624/0.1211, allocations: 255 kB / 451.2 MB, free: 1.699 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.1211, allocations: 0 / 451.2 MB, free: 1.699 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004101/0.1215, allocations: 40 kB / 451.3 MB, free: 1.66 MB / 282.7 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.001113/0.1226, allocations: 0.9229 MB / 452.2 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005162/0.1232, allocations: 160.5 kB / 452.4 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1232, allocations: 3.938 kB / 452.4 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002348/0.1235, allocations: 89.77 kB / 452.4 MB, free: 476 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004391/0.1239, allocations: 36.89 kB / 452.5 MB, free: 436 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005155/0.1291, allocations: 2.016 MB / 454.5 MB, free: 14.36 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004605/0.1296, allocations: 0.7716 MB / 455.3 MB, free: 13.56 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002277/0.1299, allocations: 26.28 kB / 455.3 MB, free: 13.54 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002706/0.1301, allocations: 99.39 kB / 455.4 MB, free: 13.44 MB / 298.7 MB Notification: Performance of SimCode: time 1.202e-06/0.1302, allocations: 0 / 455.4 MB, free: 13.44 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03464/0.1648, allocations: 5.163 MB / 460.6 MB, free: 8.277 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003263/0.1652, allocations: 251.4 kB / 460.8 MB, free: 7.992 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.88/3.045, allocations: 0 / 460.8 MB, free: 7.992 MB / 298.7 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