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.001243/0.001243, allocations: 96.97 kB / 16.3 MB, free: 5.656 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.001545/0.001546, allocations: 183.4 kB / 17.2 MB, free: 5.59 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.492/1.492, allocations: 223.2 MB / 241.1 MB, free: 300 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002548/0.0002549, allocations: 12 kB / 300.8 MB, free: 6.355 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1152, allocations: 50.41 MB / 351.2 MB, free: 3.93 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.001784/0.117, allocations: 1.206 MB / 352.4 MB, free: 2.711 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003458/0.1174, allocations: 140.3 kB / 352.6 MB, free: 2.574 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.62e-05/0.1174, allocations: 3.938 kB / 352.6 MB, free: 2.57 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.375e-05/0.1175, allocations: 4 kB / 352.6 MB, free: 2.566 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001026/0.1176, allocations: 0 / 352.6 MB, free: 2.566 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002459/0.1179, allocations: 35.84 kB / 352.6 MB, free: 2.531 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.316e-05/0.118, allocations: 27.97 kB / 352.6 MB, free: 2.504 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.1181, allocations: 11.98 kB / 352.7 MB, free: 2.492 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.246e-05/0.1181, allocations: 7.938 kB / 352.7 MB, free: 2.484 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.435e-05/0.1181, allocations: 11.92 kB / 352.7 MB, free: 2.473 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.1182, allocations: 0 / 352.7 MB, free: 2.473 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.185e-05/0.1182, allocations: 0 / 352.7 MB, free: 2.473 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.401e-05/0.1182, allocations: 11.94 kB / 352.7 MB, free: 2.461 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.547e-05/0.1183, allocations: 33.7 kB / 352.7 MB, free: 2.422 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.171e-05/0.1183, allocations: 31.86 kB / 352.8 MB, free: 2.391 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.1183, allocations: 4 kB / 352.8 MB, free: 2.387 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1183, allocations: 0 / 352.8 MB, free: 2.387 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.848e-06/0.1184, allocations: 0 / 352.8 MB, free: 2.387 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.0004506/0.1188, allocations: 347.5 kB / 353.1 MB, free: 2 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.1189, allocations: 8.031 kB / 353.1 MB, free: 1.992 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.475e-05/0.1189, allocations: 42.55 kB / 353.1 MB, free: 1.941 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.224e-05/0.119, allocations: 15.86 kB / 353.2 MB, free: 1.926 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.1192, allocations: 186.8 kB / 353.3 MB, free: 1.703 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.1192, allocations: 0 / 353.3 MB, free: 1.703 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.1192, allocations: 8 kB / 353.4 MB, free: 1.695 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002834/0.1195, allocations: 113 kB / 353.5 MB, free: 1.566 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.1195, allocations: 0 / 353.5 MB, free: 1.566 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.1195, allocations: 0 / 353.5 MB, free: 1.566 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-06/0.1196, allocations: 3.953 kB / 353.5 MB, free: 1.562 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.548e-05/0.1196, allocations: 23.98 kB / 353.5 MB, free: 1.539 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003241/0.12, allocations: 253.8 kB / 353.7 MB, free: 1.238 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.1201, allocations: 138.3 kB / 353.9 MB, free: 1.066 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.1202, allocations: 3.984 kB / 353.9 MB, free: 1.062 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.1202, allocations: 42.64 kB / 353.9 MB, free: 1.012 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1202, allocations: 0 / 353.9 MB, free: 1.012 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002386/0.1205, allocations: 73.48 kB / 354 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.651e-05/0.1205, allocations: 89.36 kB / 354.1 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.1206, allocations: 133.8 kB / 354.2 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.1207, allocations: 25.7 kB / 354.2 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.295e-05/0.1207, allocations: 88.05 kB / 354.3 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.627e-06/0.1207, allocations: 0 / 354.3 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.394e-06/0.1207, allocations: 4 kB / 354.3 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.1209, allocations: 314.8 kB / 354.6 MB, free: 252 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.039e-05/0.1209, allocations: 7.984 kB / 354.6 MB, free: 244 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.454e-05/0.1209, allocations: 39.42 kB / 354.7 MB, free: 192 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.38e-05/0.121, allocations: 7.984 kB / 354.7 MB, free: 184 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.121, allocations: 4 kB / 354.7 MB, free: 180 kB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001027/0.1211, allocations: 65.56 kB / 354.8 MB, free: 108 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.1211, allocations: 4 kB / 354.8 MB, free: 104 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1211, allocations: 0 / 354.8 MB, free: 104 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.1212, allocations: 7.953 kB / 354.8 MB, free: 96 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.167e-05/0.1212, allocations: 0 / 354.8 MB, free: 96 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.423e-06/0.1212, allocations: 4 kB / 354.8 MB, free: 92 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.366e-05/0.1212, allocations: 7.938 kB / 354.8 MB, free: 84 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-06/0.1212, allocations: 4 kB / 354.8 MB, free: 80 kB / 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.0001079/0.1214, allocations: 122 kB / 354.9 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.768e-05/0.1214, allocations: 49.55 kB / 354.9 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.402e-05/0.1215, allocations: 15.83 kB / 355 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.1215, allocations: 0 / 355 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.1215, allocations: 3.953 kB / 355 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1215, allocations: 0 / 355 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.1217, allocations: 165.7 kB / 355.1 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.1217, allocations: 4 kB / 355.1 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.424e-06/0.1217, allocations: 0 / 355.1 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1217, allocations: 0 / 355.1 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.1217, allocations: 0 / 355.1 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1217, allocations: 4 kB / 355.1 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1217, allocations: 4 kB / 355.1 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/0.1219, allocations: 181.9 kB / 355.3 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.065e-05/0.122, allocations: 89 kB / 355.4 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.122, allocations: 4 kB / 355.4 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.933e-05/0.1221, allocations: 12 kB / 355.4 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.336e-05/0.1221, allocations: 3.953 kB / 355.4 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.1221, allocations: 4 kB / 355.4 MB, free: 15.31 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.927e-05/0.1222, allocations: 102.8 kB / 355.5 MB, free: 15.21 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1222, allocations: 0 / 355.5 MB, free: 15.21 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002191/0.1224, allocations: 4 kB / 355.5 MB, free: 15.21 MB / 302.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.0004461/0.1229, allocations: 0.7836 MB / 356.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001137/0.123, allocations: 23.98 kB / 356.3 MB, free: 14.37 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.123, allocations: 3.938 kB / 356.3 MB, free: 14.37 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.672e-05/0.123, allocations: 12.23 kB / 356.4 MB, free: 14.36 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.1233, allocations: 22.73 kB / 356.4 MB, free: 14.34 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008678/0.1242, allocations: 0.8962 MB / 357.3 MB, free: 13.37 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/0.1245, allocations: 0.6926 MB / 358 MB, free: 12.65 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.251e-05/0.1245, allocations: 4 kB / 358 MB, free: 12.65 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.863e-05/0.1246, allocations: 11.44 kB / 358 MB, free: 12.64 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1246, allocations: 0 / 358 MB, free: 12.64 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01144/0.136, allocations: 1.209 MB / 359.2 MB, free: 11.57 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001969/0.1363, allocations: 191.3 kB / 359.4 MB, free: 11.33 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.925/2.061, allocations: 0 / 359.4 MB, free: 11.33 MB / 302.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