Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.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.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001273/0.001273, allocations: 118.8 kB / 17.78 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001382/0.001382, allocations: 202 kB / 18.73 MB, free: 4.309 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.461/1.461, allocations: 227.7 MB / 247.2 MB, free: 10.18 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.002031/0.002031, allocations: 71.89 kB / 358.5 MB, free: 13.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2512, allocations: 50.54 MB / 409.1 MB, free: 1.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002074/0.2533, allocations: 0.9012 MB / 410 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003627/0.2537, allocations: 135.6 kB / 410.1 MB, free: 392 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.371e-05/0.2538, allocations: 7.938 kB / 410.1 MB, free: 384 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.522e-05/0.2539, allocations: 11.86 kB / 410.1 MB, free: 372 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001074/0.254, allocations: 19.86 kB / 410.1 MB, free: 352 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001923/0.2542, allocations: 43.95 kB / 410.2 MB, free: 308 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00012/0.2543, allocations: 67.77 kB / 410.2 MB, free: 240 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.2545, allocations: 47.91 kB / 410.3 MB, free: 192 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.153e-05/0.2545, allocations: 27.91 kB / 410.3 MB, free: 164 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.937e-05/0.2546, allocations: 35.8 kB / 410.4 MB, free: 128 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.495e-05/0.2546, allocations: 4 kB / 410.4 MB, free: 124 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.48e-05/0.2546, allocations: 15.94 kB / 410.4 MB, free: 108 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.988e-05/0.2547, allocations: 31.91 kB / 410.4 MB, free: 76 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.785e-05/0.2548, allocations: 43.67 kB / 410.4 MB, free: 32 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.2549, allocations: 98.55 kB / 410.5 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.255, allocations: 0 / 410.5 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.255, allocations: 0 / 410.5 MB, free: 15.93 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.255, allocations: 0 / 410.5 MB, free: 15.93 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005167/0.2555, allocations: 410.9 kB / 410.9 MB, free: 15.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.2555, allocations: 12.03 kB / 411 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.126e-05/0.2556, allocations: 38.75 kB / 411 MB, free: 15.42 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.355e-05/0.2556, allocations: 20.84 kB / 411 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.2559, allocations: 220 kB / 411.2 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.2559, allocations: 8.359 kB / 411.2 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.2559, allocations: 8.375 kB / 411.2 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000421/0.2563, allocations: 241.9 kB / 411.5 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.2563, allocations: 7.922 kB / 411.5 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.2564, allocations: 4 kB / 411.5 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.2564, allocations: 4 kB / 411.5 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.263e-05/0.2564, allocations: 43.97 kB / 411.5 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001776/0.2566, allocations: 197.5 kB / 411.7 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002391/0.2569, allocations: 146.9 kB / 411.9 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.257, allocations: 80.91 kB / 412 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.117e-05/0.257, allocations: 0 / 412 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.2571, allocations: 38.56 kB / 412 MB, free: 14.31 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 8.92e-07/0.2571, allocations: 0 / 412 MB, free: 14.31 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003012/0.2574, allocations: 177.2 kB / 412.2 MB, free: 14.13 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.279e-05/0.2574, allocations: 67.39 kB / 412.2 MB, free: 14.05 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.2576, allocations: 166.7 kB / 412.4 MB, free: 13.88 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.2576, allocations: 25.7 kB / 412.4 MB, free: 13.85 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.534e-05/0.2577, allocations: 100.4 kB / 412.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/0.2577, allocations: 7.953 kB / 412.5 MB, free: 13.74 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.195e-05/0.2578, allocations: 41.7 kB / 412.6 MB, free: 13.69 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.2579, allocations: 322.8 kB / 412.9 MB, free: 13.37 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.049e-05/0.2579, allocations: 23.98 kB / 412.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.2581, allocations: 125.6 kB / 413 MB, free: 13.17 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.2582, allocations: 157.5 kB / 413.2 MB, free: 12.97 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2582, allocations: 0 / 413.2 MB, free: 12.97 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002165/0.2585, allocations: 161.2 kB / 413.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.2585, allocations: 11.94 kB / 413.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.2585, allocations: 4.5 kB / 413.4 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.2585, allocations: 4 kB / 413.4 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.2586, allocations: 35.98 kB / 413.4 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.2586, allocations: 7.938 kB / 413.4 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.853e-05/0.2587, allocations: 11.89 kB / 413.4 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.2587, allocations: 12 kB / 413.4 MB, free: 12.72 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 18 (sum2.y,sum2.u[2],sum2.u[1],sum1.y,sum1.u[2],sum1.u[1],unitDelay2.y,$CLKPRE.unitDelay2.u,unitDelay2.u,const1.y,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],const.y,unitDelay1.y,$CLKPRE.unitDelay1.u,unitDelay1.u) * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay2.u,unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001169/0.2588, allocations: 137.8 kB / 413.6 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001814/0.259, allocations: 141.4 kB / 413.7 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.62e-05/0.2591, allocations: 29.17 kB / 413.7 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.2591, allocations: 0 / 413.7 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.2591, allocations: 0 / 413.7 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.2591, allocations: 4 kB / 413.7 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/0.2593, allocations: 185.6 kB / 413.9 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2593, allocations: 0 / 413.9 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.2594, allocations: 31.92 kB / 413.9 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.2594, allocations: 3.938 kB / 413.9 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.2594, allocations: 11.94 kB / 414 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.2594, allocations: 4 kB / 414 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2594, allocations: 0 / 414 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000206/0.2596, allocations: 169 kB / 414.1 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.808e-05/0.2597, allocations: 104.9 kB / 414.2 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.2598, allocations: 3.938 kB / 414.2 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.254e-05/0.2598, allocations: 8 kB / 414.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.458e-06/0.2598, allocations: 7.969 kB / 414.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.2598, allocations: 0 / 414.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.651e-05/0.2599, allocations: 119.2 kB / 414.4 MB, free: 11.67 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2599, allocations: 0 / 414.4 MB, free: 11.67 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002286/0.2601, allocations: 20 kB / 414.4 MB, free: 11.65 MB / 334.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: 16 (unitDelay1.u,unitDelay1.y,const.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],const1.y,unitDelay2.u,unitDelay2.y,sum1.u[1],sum1.u[2],sum1.y,sum2.u[1],sum2.u[2],sum2.y) * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay1.u,unitDelay2.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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 Backend phase and start with SimCode phase: time 0.0006159/0.2608, allocations: 0.772 MB / 415.2 MB, free: 10.85 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00018/0.261, allocations: 104 kB / 415.3 MB, free: 10.75 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.261, allocations: 4 kB / 415.3 MB, free: 10.75 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.71e-07/0.261, allocations: 0 / 415.3 MB, free: 10.75 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003455/0.2613, allocations: 97.98 kB / 415.4 MB, free: 10.66 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001546/0.2629, allocations: 1.706 MB / 417.1 MB, free: 8.777 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.2632, allocations: 0.724 MB / 417.8 MB, free: 8.027 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.899e-05/0.2632, allocations: 5.094 kB / 417.8 MB, free: 8.023 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.721e-05/0.2633, allocations: 35.42 kB / 417.8 MB, free: 7.988 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2633, allocations: 0 / 417.8 MB, free: 7.988 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02098/0.2843, allocations: 2.631 MB / 420.5 MB, free: 5.539 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.531/8.815, allocations: 4.188 kB / 420.5 MB, free: 5.539 MB / 334.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.6e-05 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1)