Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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 4.0.0+maint.om/package.mo", uses=false) 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(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",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.001034/0.001034, allocations: 94.23 kB / 16.31 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 185.4 kB / 17.21 MB, free: 5.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.549/1.549, allocations: 223.2 MB / 241.2 MB, free: 5.402 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002688/0.0002689, allocations: 6.156 kB / 300.9 MB, free: 6.293 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1324, allocations: 50.42 MB / 351.3 MB, free: 11.7 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.001779/0.1343, allocations: 1.205 MB / 352.5 MB, free: 10.48 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003851/0.1347, allocations: 147.6 kB / 352.7 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.682e-05/0.1348, allocations: 7.938 kB / 352.7 MB, free: 10.33 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.026e-05/0.1348, allocations: 0 / 352.7 MB, free: 10.33 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001184/0.1349, allocations: 3.938 kB / 352.7 MB, free: 10.33 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002435/0.1352, allocations: 35.09 kB / 352.7 MB, free: 10.3 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.573e-05/0.1353, allocations: 31.86 kB / 352.8 MB, free: 10.27 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.189e-05/0.1354, allocations: 11.98 kB / 352.8 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.17e-05/0.1354, allocations: 4 kB / 352.8 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.455e-05/0.1354, allocations: 19.84 kB / 352.8 MB, free: 10.23 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.1355, allocations: 4 kB / 352.8 MB, free: 10.23 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.897e-06/0.1355, allocations: 4 kB / 352.8 MB, free: 10.22 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.507e-05/0.1355, allocations: 11.94 kB / 352.8 MB, free: 10.21 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.253e-05/0.1356, allocations: 29.64 kB / 352.8 MB, free: 10.18 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.968e-05/0.1356, allocations: 27.94 kB / 352.9 MB, free: 10.15 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.1356, allocations: 4 kB / 352.9 MB, free: 10.14 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1357, allocations: 0 / 352.9 MB, free: 10.14 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.216e-06/0.1357, allocations: 0 / 352.9 MB, free: 10.14 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004458/0.1361, allocations: 355.1 kB / 353.2 MB, free: 9.75 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.1362, allocations: 16.03 kB / 353.2 MB, free: 9.734 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.281e-05/0.1362, allocations: 34.56 kB / 353.3 MB, free: 9.691 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.858e-05/0.1363, allocations: 11.86 kB / 353.3 MB, free: 9.68 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001962/0.1365, allocations: 193.1 kB / 353.5 MB, free: 9.453 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.1365, allocations: 4 kB / 353.5 MB, free: 9.449 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.794e-06/0.1365, allocations: 0 / 353.5 MB, free: 9.449 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002895/0.1368, allocations: 121 kB / 353.6 MB, free: 9.312 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.1368, allocations: 0 / 353.6 MB, free: 9.312 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.1368, allocations: 0 / 353.6 MB, free: 9.312 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.1368, allocations: 7.953 kB / 353.6 MB, free: 9.305 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.204e-05/0.1369, allocations: 19.92 kB / 353.6 MB, free: 9.285 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003232/0.1372, allocations: 261.8 kB / 353.9 MB, free: 8.977 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001907/0.1374, allocations: 134.2 kB / 354 MB, free: 8.809 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.374e-05/0.1375, allocations: 29.78 kB / 354 MB, free: 8.773 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.1375, allocations: 4 kB / 354 MB, free: 8.77 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.1376, allocations: 38.55 kB / 354.1 MB, free: 8.723 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.1376, allocations: 0 / 354.1 MB, free: 8.723 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002421/0.1378, allocations: 73.48 kB / 354.1 MB, free: 8.645 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.745e-05/0.1379, allocations: 81.11 kB / 354.2 MB, free: 8.547 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.138, allocations: 129.8 kB / 354.3 MB, free: 8.41 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.1381, allocations: 29.69 kB / 354.4 MB, free: 8.375 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.987e-05/0.1381, allocations: 88.27 kB / 354.5 MB, free: 8.285 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.491e-05/0.1382, allocations: 7.906 kB / 354.5 MB, free: 8.277 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-06/0.1382, allocations: 0 / 354.5 MB, free: 8.277 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.1383, allocations: 314.8 kB / 354.8 MB, free: 7.961 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.218e-05/0.1384, allocations: 7.984 kB / 354.8 MB, free: 7.953 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.941e-05/0.1384, allocations: 35.38 kB / 354.8 MB, free: 7.906 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.626e-05/0.1385, allocations: 12 kB / 354.8 MB, free: 7.895 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1385, allocations: 0 / 354.8 MB, free: 7.895 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001137/0.1386, allocations: 65.55 kB / 354.9 MB, free: 7.824 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.1386, allocations: 7.938 kB / 354.9 MB, free: 7.816 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.1387, allocations: 4 kB / 354.9 MB, free: 7.812 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.1387, allocations: 8.078 kB / 354.9 MB, free: 7.805 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.363e-05/0.1387, allocations: 3.938 kB / 354.9 MB, free: 7.801 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.1387, allocations: 4 kB / 354.9 MB, free: 7.797 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.367e-05/0.1388, allocations: 4 kB / 354.9 MB, free: 7.793 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-06/0.1388, allocations: 4 kB / 354.9 MB, free: 7.789 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001237/0.1389, allocations: 117.8 kB / 355 MB, free: 7.664 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.043e-05/0.139, allocations: 45.61 kB / 355.1 MB, free: 7.613 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.237e-05/0.139, allocations: 11.89 kB / 355.1 MB, free: 7.594 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.1391, allocations: 7.953 kB / 355.1 MB, free: 7.586 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1391, allocations: 0 / 355.1 MB, free: 7.586 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1391, allocations: 0 / 355.1 MB, free: 7.586 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002115/0.1393, allocations: 169.7 kB / 355.3 MB, free: 7.371 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.1393, allocations: 4 kB / 355.3 MB, free: 7.367 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.778e-06/0.1393, allocations: 4.266 kB / 355.3 MB, free: 7.363 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1393, allocations: 0 / 355.3 MB, free: 7.363 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.1393, allocations: 0 / 355.3 MB, free: 7.363 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1394, allocations: 4 kB / 355.3 MB, free: 7.359 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/0.1394, allocations: 3.953 kB / 355.3 MB, free: 7.355 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002043/0.1396, allocations: 172.3 kB / 355.5 MB, free: 7.168 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.065e-05/0.1397, allocations: 92.94 kB / 355.6 MB, free: 7.059 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.1397, allocations: 4 kB / 355.6 MB, free: 7.055 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.472e-05/0.1397, allocations: 0 / 355.6 MB, free: 7.055 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.859e-05/0.1398, allocations: 4 kB / 355.6 MB, free: 7.051 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.1398, allocations: 7.953 kB / 355.6 MB, free: 7.043 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.752e-05/0.1399, allocations: 101.2 kB / 355.7 MB, free: 6.945 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.475e-06/0.1399, allocations: 0 / 355.7 MB, free: 6.945 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002435/0.1401, allocations: 11.94 kB / 355.7 MB, free: 6.934 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0005904/0.1407, allocations: 0.6937 MB / 356.4 MB, free: 6.211 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001326/0.1409, allocations: 27.92 kB / 356.4 MB, free: 6.184 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1409, allocations: 0 / 356.4 MB, free: 6.184 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 3.013e-05/0.1409, allocations: 8 kB / 356.4 MB, free: 6.176 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004227/0.1414, allocations: 22.77 kB / 356.4 MB, free: 6.156 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008736/0.1422, allocations: 470.3 kB / 356.9 MB, free: 5.633 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003983/0.1426, allocations: 0.6887 MB / 357.6 MB, free: 4.918 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.756e-05/0.1427, allocations: 0 / 357.6 MB, free: 4.918 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.546e-05/0.1427, allocations: 19.38 kB / 357.6 MB, free: 4.898 MB / 286.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1427, allocations: 0 / 357.6 MB, free: 4.898 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.013/0.1557, allocations: 1.224 MB / 358.8 MB, free: 3.824 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002631/0.1561, allocations: 195.9 kB / 359 MB, free: 3.586 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.923/2.08, allocations: 3.5 kB / 359 MB, free: 3.586 MB / 286.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat does not exist to compare? outputFormat=mat