Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_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.00146/0.00146, allocations: 114.9 kB / 17.84 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001466/0.001466, allocations: 205.2 kB / 18.79 MB, free: 4.141 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.495/1.495, allocations: 230.4 MB / 250 MB, free: 9.125 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.001894/0.001894, allocations: 71.83 kB / 366.9 MB, free: 7.559 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3337, allocations: 53.3 MB / 420.2 MB, free: 8.285 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003122/0.3368, allocations: 1.638 MB / 421.8 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.338, allocations: 0.5648 MB / 422.4 MB, free: 6.078 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.97e-05/0.3381, allocations: 0 / 422.4 MB, free: 6.078 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001198/0.3382, allocations: 7.875 kB / 422.4 MB, free: 6.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001282/0.3383, allocations: 19.86 kB / 422.4 MB, free: 6.051 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003469/0.3386, allocations: 59.81 kB / 422.5 MB, free: 5.992 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001386/0.3388, allocations: 63.77 kB / 422.5 MB, free: 5.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.3389, allocations: 15.98 kB / 422.5 MB, free: 5.914 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.339, allocations: 35.86 kB / 422.6 MB, free: 5.879 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.071e-05/0.3391, allocations: 35.83 kB / 422.6 MB, free: 5.844 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.405e-05/0.3391, allocations: 4 kB / 422.6 MB, free: 5.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.764e-05/0.3392, allocations: 8 kB / 422.6 MB, free: 5.832 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.119e-05/0.3393, allocations: 15.92 kB / 422.6 MB, free: 5.816 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.682e-05/0.3393, allocations: 35.75 kB / 422.7 MB, free: 5.781 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.3395, allocations: 82.55 kB / 422.7 MB, free: 5.703 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3395, allocations: 3.938 kB / 422.8 MB, free: 5.699 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3395, allocations: 0 / 422.8 MB, free: 5.699 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.3395, allocations: 0 / 422.8 MB, free: 5.699 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.000657/0.3402, allocations: 399 kB / 423.1 MB, free: 5.262 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/0.3402, allocations: 12.03 kB / 423.2 MB, free: 5.25 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.541e-05/0.3403, allocations: 38.73 kB / 423.2 MB, free: 5.203 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002499/0.3406, allocations: 28.88 kB / 423.2 MB, free: 5.176 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003387/0.3409, allocations: 212.1 kB / 423.4 MB, free: 4.93 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.3409, allocations: 384 / 423.4 MB, free: 4.93 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.3409, allocations: 12.31 kB / 423.4 MB, free: 4.918 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00035/0.3413, allocations: 130 kB / 423.6 MB, free: 4.77 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.3413, allocations: 0 / 423.6 MB, free: 4.77 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.3413, allocations: 0 / 423.6 MB, free: 4.77 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.735e-05/0.3413, allocations: 4 kB / 423.6 MB, free: 4.766 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001371/0.3415, allocations: 39.91 kB / 423.6 MB, free: 4.727 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005426/0.342, allocations: 385.8 kB / 424 MB, free: 4.293 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001647/0.3422, allocations: 87.77 kB / 424.1 MB, free: 4.18 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.117e-05/0.3423, allocations: 38.62 kB / 424.1 MB, free: 4.133 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.3423, allocations: 0 / 424.1 MB, free: 4.133 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/0.3423, allocations: 30.56 kB / 424.1 MB, free: 4.094 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 3.437e-06/0.3423, allocations: 7.984 kB / 424.1 MB, free: 4.086 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003975/0.3427, allocations: 125.4 kB / 424.3 MB, free: 3.957 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.16e-05/0.3428, allocations: 102.8 kB / 424.4 MB, free: 3.832 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.3429, allocations: 162.2 kB / 424.5 MB, free: 3.664 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.343, allocations: 26.08 kB / 424.6 MB, free: 3.633 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.964e-05/0.343, allocations: 96.14 kB / 424.6 MB, free: 3.535 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.256e-05/0.3431, allocations: 7.953 kB / 424.7 MB, free: 3.527 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.353e-05/0.3431, allocations: 17.7 kB / 424.7 MB, free: 3.504 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001895/0.3433, allocations: 326.8 kB / 425 MB, free: 3.176 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.9e-05/0.3434, allocations: 15.98 kB / 425 MB, free: 3.16 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.554e-05/0.3434, allocations: 43.42 kB / 425 MB, free: 3.105 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.3436, allocations: 63.34 kB / 425.1 MB, free: 3.031 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3436, allocations: 0 / 425.1 MB, free: 3.031 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002012/0.3438, allocations: 97.48 kB / 425.2 MB, free: 2.93 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.3438, allocations: 4 kB / 425.2 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.3438, allocations: 4 kB / 425.2 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.3438, allocations: 0 / 425.2 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.885e-05/0.3439, allocations: 11.98 kB / 425.2 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.3439, allocations: 0 / 425.2 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.828e-05/0.344, allocations: 4 kB / 425.2 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.344, allocations: 7.984 kB / 425.2 MB, free: 2.898 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: 0 () * 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.0001151/0.3441, allocations: 125.9 kB / 425.4 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.3443, allocations: 61.53 kB / 425.4 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.794e-05/0.3443, allocations: 11.83 kB / 425.4 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.705e-05/0.3443, allocations: 7.984 kB / 425.4 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3443, allocations: 0 / 425.4 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3443, allocations: 4 kB / 425.4 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000247/0.3446, allocations: 177.6 kB / 425.6 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.3446, allocations: 4 kB / 425.6 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.458e-05/0.3446, allocations: 4 kB / 425.6 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3446, allocations: 4.031 kB / 425.6 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.3446, allocations: 15.98 kB / 425.6 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3446, allocations: 0 / 425.6 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3446, allocations: 0 / 425.6 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002974/0.3449, allocations: 279.5 kB / 425.9 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.838e-05/0.345, allocations: 92.98 kB / 426 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.184e-05/0.345, allocations: 7.938 kB / 426 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.3452, allocations: 11.92 kB / 426 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.886e-05/0.3452, allocations: 4 kB / 426 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.3452, allocations: 4 kB / 426 MB, free: 1.988 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.252e-05/0.3453, allocations: 111.2 kB / 426.1 MB, free: 1.879 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3453, allocations: 0 / 426.1 MB, free: 1.879 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002693/0.3456, allocations: 12 kB / 426.2 MB, free: 1.867 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: 0 () * 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.0006198/0.3462, allocations: 0.8101 MB / 427 MB, free: 1.027 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002146/0.3464, allocations: 55.89 kB / 427 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3464, allocations: 0 / 427 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.295e-05/0.3465, allocations: 19.98 kB / 427 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004563/0.3469, allocations: 20.02 kB / 427.1 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002/0.3489, allocations: 1.576 MB / 428.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/0.3493, allocations: 0.7002 MB / 429.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.428e-05/0.3494, allocations: 12.2 kB / 429.3 MB, free: 14.51 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.902e-05/0.3494, allocations: 19.44 kB / 429.4 MB, free: 14.49 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3494, allocations: 0 / 429.4 MB, free: 14.49 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02619/0.3756, allocations: 1.977 MB / 431.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.56/7.936, allocations: 12.34 kB / 431.4 MB, free: 12.69 MB / 350.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.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_RealSignals_SampleVectorizedAndClocked.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1)