Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001393/0.001393, allocations: 117.9 kB / 17.84 MB, free: 5.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001446/0.001446, allocations: 199.5 kB / 18.79 MB, free: 4.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.48/1.48, allocations: 230.4 MB / 250 MB, free: 9.059 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 67.84 kB / 366.8 MB, free: 7.551 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2885, allocations: 53.31 MB / 420.2 MB, free: 8.27 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.00298/0.2915, allocations: 1.538 MB / 421.7 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003926/0.2919, allocations: 139.5 kB / 421.8 MB, free: 6.594 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.994e-05/0.292, allocations: 7.938 kB / 421.8 MB, free: 6.586 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001523/0.2921, allocations: 3.938 kB / 421.8 MB, free: 6.582 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.506e-05/0.2922, allocations: 7.938 kB / 421.8 MB, free: 6.574 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002372/0.2924, allocations: 39.89 kB / 421.9 MB, free: 6.535 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.2925, allocations: 43.8 kB / 421.9 MB, free: 6.492 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.2927, allocations: 15.97 kB / 421.9 MB, free: 6.477 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.829e-05/0.2927, allocations: 19.92 kB / 422 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.541e-05/0.2927, allocations: 15.92 kB / 422 MB, free: 6.441 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.2927, allocations: 8 kB / 422 MB, free: 6.434 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.043e-05/0.2928, allocations: 0 / 422 MB, free: 6.434 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.069e-05/0.2928, allocations: 15.94 kB / 422 MB, free: 6.418 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.077e-05/0.2929, allocations: 23.8 kB / 422 MB, free: 6.395 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001192/0.293, allocations: 54.84 kB / 422.1 MB, free: 6.344 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.293, allocations: 4 kB / 422.1 MB, free: 6.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.293, allocations: 0 / 422.1 MB, free: 6.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.077e-05/0.293, allocations: 0 / 422.1 MB, free: 6.34 MB / 334.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.0005696/0.2936, allocations: 367.2 kB / 422.4 MB, free: 5.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.2936, allocations: 12.03 kB / 422.5 MB, free: 5.918 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.829e-05/0.2937, allocations: 38.73 kB / 422.5 MB, free: 5.871 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.487e-05/0.2937, allocations: 12.89 kB / 422.5 MB, free: 5.859 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002837/0.294, allocations: 200.1 kB / 422.7 MB, free: 5.625 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.294, allocations: 4.375 kB / 422.7 MB, free: 5.621 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.294, allocations: 4.375 kB / 422.7 MB, free: 5.617 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003483/0.2944, allocations: 122.4 kB / 422.8 MB, free: 5.477 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.2944, allocations: 3.938 kB / 422.8 MB, free: 5.473 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.2944, allocations: 4 kB / 422.8 MB, free: 5.469 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.304e-05/0.2944, allocations: 3.938 kB / 422.8 MB, free: 5.465 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.838e-05/0.2945, allocations: 27.92 kB / 422.9 MB, free: 5.438 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004907/0.295, allocations: 369.8 kB / 423.2 MB, free: 5.02 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.2951, allocations: 75.78 kB / 423.3 MB, free: 4.918 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.494e-05/0.2952, allocations: 30.62 kB / 423.3 MB, free: 4.879 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.2952, allocations: 8 kB / 423.3 MB, free: 4.871 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.2953, allocations: 38.5 kB / 423.4 MB, free: 4.824 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/0.2953, allocations: 0 / 423.4 MB, free: 4.824 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003383/0.2956, allocations: 93.55 kB / 423.5 MB, free: 4.727 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.778e-05/0.2957, allocations: 107.2 kB / 423.6 MB, free: 4.598 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.2958, allocations: 136.6 kB / 423.7 MB, free: 4.457 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.262e-05/0.2959, allocations: 29.7 kB / 423.7 MB, free: 4.422 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.558e-05/0.2959, allocations: 92.11 kB / 423.8 MB, free: 4.328 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.296, allocations: 11.89 kB / 423.8 MB, free: 4.316 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.239e-05/0.296, allocations: 25.72 kB / 423.9 MB, free: 4.285 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.2962, allocations: 318.8 kB / 424.2 MB, free: 3.965 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.372e-05/0.2962, allocations: 19.94 kB / 424.2 MB, free: 3.945 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.666e-05/0.2963, allocations: 35.42 kB / 424.2 MB, free: 3.898 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001061/0.2964, allocations: 51.34 kB / 424.3 MB, free: 3.836 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2964, allocations: 4 kB / 424.3 MB, free: 3.832 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000153/0.2965, allocations: 73.58 kB / 424.4 MB, free: 3.754 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.2965, allocations: 4 kB / 424.4 MB, free: 3.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.2966, allocations: 0 / 424.4 MB, free: 3.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.2966, allocations: 7.984 kB / 424.4 MB, free: 3.742 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.841e-05/0.2966, allocations: 0 / 424.4 MB, free: 3.742 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.2966, allocations: 0 / 424.4 MB, free: 3.742 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.74e-05/0.2966, allocations: 4.125 kB / 424.4 MB, free: 3.738 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/0.2967, allocations: 8 kB / 424.4 MB, free: 3.73 MB / 334.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 (sample1.u[1],sample1.u[2],sample1.y[2],sample1.y[1]) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001329/0.2968, allocations: 129.7 kB / 424.5 MB, free: 3.594 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.223e-05/0.2969, allocations: 45.66 kB / 424.5 MB, free: 3.543 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.567e-05/0.2969, allocations: 15.81 kB / 424.6 MB, free: 3.52 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.745e-05/0.2969, allocations: 4 kB / 424.6 MB, free: 3.516 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-05/0.297, allocations: 0 / 424.6 MB, free: 3.516 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.297, allocations: 0 / 424.6 MB, free: 3.516 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002589/0.2972, allocations: 177.6 kB / 424.7 MB, free: 3.293 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.2972, allocations: 4.031 kB / 424.7 MB, free: 3.289 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.833e-06/0.2972, allocations: 7.938 kB / 424.8 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.2972, allocations: 3.984 kB / 424.8 MB, free: 3.277 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.2972, allocations: 3.938 kB / 424.8 MB, free: 3.273 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.2972, allocations: 8 kB / 424.8 MB, free: 3.266 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.197e-05/0.2973, allocations: 3.938 kB / 424.8 MB, free: 3.262 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002676/0.2975, allocations: 255.6 kB / 425 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.583e-05/0.2976, allocations: 93.05 kB / 425.1 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.724e-05/0.2977, allocations: 0 / 425.1 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.405e-05/0.2977, allocations: 4 kB / 425.1 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.403e-05/0.2978, allocations: 3.984 kB / 425.1 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.2978, allocations: 4 kB / 425.1 MB, free: 2.871 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.518e-05/0.2979, allocations: 103.3 kB / 425.2 MB, free: 2.77 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2979, allocations: 0 / 425.2 MB, free: 2.77 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000264/0.2981, allocations: 12 kB / 425.2 MB, free: 2.758 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u[1],sample1.u[2],sample1.y[1],sample1.y[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006102/0.2988, allocations: 0.7906 MB / 426 MB, free: 1.938 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002194/0.299, allocations: 43.91 kB / 426.1 MB, free: 1.895 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.299, allocations: 0 / 426.1 MB, free: 1.895 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.551e-05/0.299, allocations: 12 kB / 426.1 MB, free: 1.883 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004131/0.2994, allocations: 26.45 kB / 426.1 MB, free: 1.859 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00165/0.3011, allocations: 1.47 MB / 427.6 MB, free: 296 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004067/0.3015, allocations: 0.6924 MB / 428.3 MB, free: 15.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.988e-05/0.3015, allocations: 12.02 kB / 428.3 MB, free: 15.56 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.126e-05/0.3016, allocations: 15.44 kB / 428.3 MB, free: 15.54 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3016, allocations: 3.938 kB / 428.3 MB, free: 15.54 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02646/0.328, allocations: 1.738 MB / 430 MB, free: 13.98 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.974/8.302, allocations: 11.59 kB / 430 MB, free: 13.97 MB / 350.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8e-05 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1)