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.SuperSample.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.SuperSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001687/0.001687, allocations: 121.8 kB / 17.84 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001848/0.001848, allocations: 199.5 kB / 18.79 MB, free: 4.289 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.426/1.426, allocations: 230.4 MB / 250 MB, free: 9.043 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.00191/0.00191, allocations: 71.83 kB / 366.9 MB, free: 7.555 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2542, allocations: 53.31 MB / 420.2 MB, free: 8.293 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003029/0.2573, allocations: 1.596 MB / 421.8 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.2584, allocations: 0.5726 MB / 422.3 MB, free: 6.117 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.354e-05/0.2585, allocations: 4 kB / 422.3 MB, free: 6.113 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.032e-05/0.2585, allocations: 3.938 kB / 422.4 MB, free: 6.109 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000151/0.2587, allocations: 19.78 kB / 422.4 MB, free: 6.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003531/0.259, allocations: 63.77 kB / 422.4 MB, free: 6.027 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001222/0.2592, allocations: 43.91 kB / 422.5 MB, free: 5.984 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.2593, allocations: 16.16 kB / 422.5 MB, free: 5.969 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.2594, allocations: 27.86 kB / 422.5 MB, free: 5.941 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.892e-05/0.2595, allocations: 27.88 kB / 422.5 MB, free: 5.914 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.2595, allocations: 0 / 422.5 MB, free: 5.914 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.776e-05/0.2595, allocations: 11.98 kB / 422.6 MB, free: 5.902 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.792e-05/0.2596, allocations: 15.92 kB / 422.6 MB, free: 5.887 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.383e-05/0.2596, allocations: 31.73 kB / 422.6 MB, free: 5.855 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001591/0.2598, allocations: 50.77 kB / 422.7 MB, free: 5.809 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.008e-05/0.2598, allocations: 7.984 kB / 422.7 MB, free: 5.801 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2598, allocations: 0 / 422.7 MB, free: 5.801 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.2598, allocations: 0 / 422.7 MB, free: 5.801 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005517/0.2603, allocations: 382.9 kB / 423 MB, free: 5.379 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.2604, allocations: 16.03 kB / 423.1 MB, free: 5.363 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.072e-05/0.2604, allocations: 34.75 kB / 423.1 MB, free: 5.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001486/0.2606, allocations: 20.88 kB / 423.1 MB, free: 5.301 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/0.2608, allocations: 200.8 kB / 423.3 MB, free: 5.066 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.2609, allocations: 12.11 kB / 423.3 MB, free: 5.055 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.2609, allocations: 3.938 kB / 423.3 MB, free: 5.051 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002746/0.2611, allocations: 121.9 kB / 423.4 MB, free: 4.91 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.2612, allocations: 0 / 423.4 MB, free: 4.91 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-06/0.2612, allocations: 0 / 423.4 MB, free: 4.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.2612, allocations: 0 / 423.4 MB, free: 4.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.358e-05/0.2613, allocations: 27.92 kB / 423.5 MB, free: 4.883 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003274/0.2616, allocations: 274.6 kB / 423.7 MB, free: 4.559 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.2617, allocations: 71.78 kB / 423.8 MB, free: 4.461 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.942e-05/0.2618, allocations: 38.56 kB / 423.8 MB, free: 4.414 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.2618, allocations: 0 / 423.8 MB, free: 4.414 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.2618, allocations: 34.56 kB / 423.9 MB, free: 4.371 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.2618, allocations: 0 / 423.9 MB, free: 4.371 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002586/0.2621, allocations: 85.91 kB / 424 MB, free: 4.281 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.766e-05/0.2622, allocations: 110.8 kB / 424.1 MB, free: 4.148 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.2623, allocations: 152.3 kB / 424.2 MB, free: 3.992 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.2623, allocations: 25.7 kB / 424.2 MB, free: 3.961 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.915e-05/0.2624, allocations: 92.14 kB / 424.3 MB, free: 3.867 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.522e-05/0.2624, allocations: 3.984 kB / 424.3 MB, free: 3.863 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-05/0.2624, allocations: 25.61 kB / 424.4 MB, free: 3.832 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.2626, allocations: 314.9 kB / 424.7 MB, free: 3.516 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.841e-05/0.2626, allocations: 15.98 kB / 424.7 MB, free: 3.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.465e-05/0.2627, allocations: 31.42 kB / 424.7 MB, free: 3.457 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001036/0.2628, allocations: 51.36 kB / 424.8 MB, free: 3.395 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2628, allocations: 0 / 424.8 MB, free: 3.395 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001347/0.2629, allocations: 61.62 kB / 424.8 MB, free: 3.328 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.2629, allocations: 11.98 kB / 424.8 MB, free: 3.316 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.2629, allocations: 0 / 424.8 MB, free: 3.316 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.2629, allocations: 0 / 424.8 MB, free: 3.316 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.388e-05/0.263, allocations: 12.06 kB / 424.8 MB, free: 3.305 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.263, allocations: 7.938 kB / 424.9 MB, free: 3.297 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.478e-05/0.2631, allocations: 7.984 kB / 424.9 MB, free: 3.289 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.2631, allocations: 4 kB / 424.9 MB, free: 3.285 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 9.577e-05/0.2632, allocations: 117.8 kB / 425 MB, free: 3.16 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.776e-05/0.2633, allocations: 57.53 kB / 425 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.995e-05/0.2633, allocations: 7.875 kB / 425 MB, free: 3.082 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.2633, allocations: 4 kB / 425 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.2633, allocations: 8 kB / 425.1 MB, free: 3.07 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.2633, allocations: 0 / 425.1 MB, free: 3.07 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/0.2635, allocations: 185.6 kB / 425.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.2635, allocations: 0 / 425.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.675e-05/0.2636, allocations: 8 kB / 425.2 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2636, allocations: 0 / 425.2 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.759e-06/0.2636, allocations: 7.938 kB / 425.3 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2636, allocations: 0 / 425.3 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/0.2636, allocations: 7.922 kB / 425.3 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002151/0.2638, allocations: 181.2 kB / 425.4 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.793e-05/0.2639, allocations: 97.05 kB / 425.5 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.2639, allocations: 0 / 425.5 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.362e-05/0.264, allocations: 0 / 425.5 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.726e-05/0.264, allocations: 7.938 kB / 425.5 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.264, allocations: 0 / 425.5 MB, free: 2.496 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.456e-05/0.2641, allocations: 120.6 kB / 425.7 MB, free: 2.379 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2641, allocations: 0 / 425.7 MB, free: 2.379 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00022/0.2643, allocations: 4 kB / 425.7 MB, free: 2.375 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 (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 Backend phase and start with SimCode phase: time 0.0005301/0.2649, allocations: 0.714 MB / 426.4 MB, free: 1.629 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001504/0.265, allocations: 35.91 kB / 426.4 MB, free: 1.594 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.265, allocations: 0 / 426.4 MB, free: 1.594 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.032e-05/0.2651, allocations: 8 kB / 426.4 MB, free: 1.586 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003839/0.2654, allocations: 23.95 kB / 426.4 MB, free: 1.562 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/0.267, allocations: 1.41 MB / 427.9 MB, free: 48 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003675/0.2673, allocations: 0.6885 MB / 428.5 MB, free: 15.33 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.509e-05/0.2674, allocations: 4 kB / 428.5 MB, free: 15.33 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.398e-05/0.2674, allocations: 23.42 kB / 428.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of SimCode: time 8.31e-07/0.2674, allocations: 0 / 428.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02311/0.2905, allocations: 1.735 MB / 430.3 MB, free: 13.72 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.697/7.988, allocations: 15.28 kB / 430.3 MB, free: 13.71 MB / 350.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.csv --start-time 0 --stop-time 0.08 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.2e-05 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1)