Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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 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(ModelicaTest.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009192/0.0009195, allocations: 97.41 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009293/0.0009296, allocations: 175.1 kB / 16.58 MB, free: 5.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.443/1.443, allocations: 205.4 MB / 222.8 MB, free: 5.852 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3292/0.3292, allocations: 43.54 MB / 314.6 MB, free: 8.609 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004882/0.0004882, allocations: 20 kB / 384 MB, free: 7.949 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1156, allocations: 58.86 MB / 442.9 MB, free: 12.99 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sensors): time 0.002028/0.1176, allocations: 1.551 MB / 444.4 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000878/0.1185, allocations: 0.5506 MB / 445 MB, free: 10.87 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.02e-05/0.1186, allocations: 0 / 445 MB, free: 10.87 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001314/0.1188, allocations: 31.77 kB / 445 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001175/0.1189, allocations: 27.83 kB / 445 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001562/0.1191, allocations: 39.91 kB / 445.1 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001709/0.1193, allocations: 127.5 kB / 445.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.1194, allocations: 57.77 kB / 445.3 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.1195, allocations: 55.7 kB / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.946e-05/0.1196, allocations: 47.78 kB / 445.4 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/0.1197, allocations: 8 kB / 445.4 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.192e-05/0.1197, allocations: 8 kB / 445.4 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.819e-05/0.1197, allocations: 27.91 kB / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.341e-05/0.1198, allocations: 45.64 kB / 445.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.1199, allocations: 119.9 kB / 445.6 MB, free: 10.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1199, allocations: 0 / 445.6 MB, free: 10.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1199, allocations: 0 / 445.6 MB, free: 10.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.71e-06/0.1199, allocations: 4 kB / 445.6 MB, free: 10.26 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0005753/0.1205, allocations: 427.2 kB / 446 MB, free: 9.797 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.1206, allocations: 8.031 kB / 446 MB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.327e-05/0.1206, allocations: 50.45 kB / 446 MB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.296e-05/0.1207, allocations: 15.81 kB / 446.1 MB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.1209, allocations: 202.8 kB / 446.3 MB, free: 9.477 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.1209, allocations: 12.28 kB / 446.3 MB, free: 9.465 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.1209, allocations: 12 kB / 446.3 MB, free: 9.453 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003189/0.1213, allocations: 147.8 kB / 446.4 MB, free: 9.305 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.1213, allocations: 0 / 446.4 MB, free: 9.305 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.1213, allocations: 4 kB / 446.4 MB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.1213, allocations: 7.953 kB / 446.4 MB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002728/0.1216, allocations: 120.1 kB / 446.5 MB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009593/0.1226, allocations: 0.6106 MB / 447.2 MB, free: 8.496 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002499/0.1228, allocations: 82.55 kB / 447.2 MB, free: 8.406 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.123, allocations: 36.97 kB / 447.3 MB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.123, allocations: 0 / 447.3 MB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.123, allocations: 30.56 kB / 447.3 MB, free: 8.328 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 2.865e-06/0.123, allocations: 4 kB / 447.3 MB, free: 8.324 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003863/0.1234, allocations: 125.5 kB / 447.4 MB, free: 8.195 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.005e-05/0.1235, allocations: 51.41 kB / 447.5 MB, free: 8.133 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.1236, allocations: 150.4 kB / 447.6 MB, free: 7.977 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.1236, allocations: 29.7 kB / 447.7 MB, free: 7.941 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.831e-05/0.1237, allocations: 135.5 kB / 447.8 MB, free: 7.805 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.55e-05/0.1238, allocations: 15.66 kB / 447.8 MB, free: 7.789 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.673e-06/0.1238, allocations: 4 kB / 447.8 MB, free: 7.785 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.1239, allocations: 322.8 kB / 448.1 MB, free: 7.461 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.864e-05/0.124, allocations: 35.97 kB / 448.2 MB, free: 7.426 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.1241, allocations: 64.27 kB / 448.2 MB, free: 7.348 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001097/0.1243, allocations: 47.92 kB / 448.3 MB, free: 7.301 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1243, allocations: 0 / 448.3 MB, free: 7.301 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000274/0.1245, allocations: 133.5 kB / 448.4 MB, free: 7.164 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.1246, allocations: 7.984 kB / 448.4 MB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.1246, allocations: 7.875 kB / 448.4 MB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.1246, allocations: 4 kB / 448.4 MB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.1247, allocations: 32.17 kB / 448.4 MB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.1248, allocations: 0 / 448.4 MB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.196e-05/0.1248, allocations: 23.92 kB / 448.5 MB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/0.1249, allocations: 4 kB / 448.5 MB, free: 7.086 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (11): * Single equations (assignments): 11 * 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.0001114/0.125, allocations: 129.9 kB / 448.6 MB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.015e-05/0.125, allocations: 15.8 kB / 448.6 MB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.901e-05/0.1251, allocations: 8.312 kB / 448.6 MB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.1251, allocations: 0 / 448.6 MB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.1251, allocations: 4 kB / 448.6 MB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1251, allocations: 0 / 448.6 MB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002459/0.1253, allocations: 213.5 kB / 448.8 MB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1254, allocations: 0 / 448.8 MB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.942e-05/0.1255, allocations: 19.98 kB / 448.9 MB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.1255, allocations: 4 kB / 448.9 MB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.1255, allocations: 3.953 kB / 448.9 MB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1255, allocations: 0 / 448.9 MB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1255, allocations: 0 / 448.9 MB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00027/0.1258, allocations: 195.4 kB / 449.1 MB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.272e-05/0.1258, allocations: 89 kB / 449.1 MB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.1259, allocations: 0 / 449.1 MB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.792e-05/0.126, allocations: 7.953 kB / 449.2 MB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.279e-05/0.126, allocations: 11.92 kB / 449.2 MB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.126, allocations: 0 / 449.2 MB, free: 6.305 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.963e-05/0.1261, allocations: 120.6 kB / 449.3 MB, free: 6.188 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1261, allocations: 0 / 449.3 MB, free: 6.188 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002519/0.1264, allocations: 23.94 kB / 449.3 MB, free: 6.164 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0006094/0.127, allocations: 0.7201 MB / 450 MB, free: 5.418 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000256/0.1273, allocations: 79.89 kB / 450.1 MB, free: 5.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1273, allocations: 256 / 450.1 MB, free: 5.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.25e-05/0.1274, allocations: 43.91 kB / 450.1 MB, free: 5.297 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.1277, allocations: 11.95 kB / 450.2 MB, free: 5.285 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.1289, allocations: 0.7654 MB / 450.9 MB, free: 4.457 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.1291, allocations: 0.7041 MB / 451.6 MB, free: 3.727 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.372e-05/0.1292, allocations: 4.656 kB / 451.6 MB, free: 3.723 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.535e-05/0.1293, allocations: 39.36 kB / 451.7 MB, free: 3.684 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1293, allocations: 4 kB / 451.7 MB, free: 3.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01199/0.1413, allocations: 1.804 MB / 453.5 MB, free: 1.906 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002501/0.1416, allocations: 168.9 kB / 453.6 MB, free: 1.664 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.782/1.923, allocations: 0 / 453.6 MB, free: 1.664 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sensors.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors_res.mat does not exist to compare? outputFormat=mat