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.TimeBasedSine.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.TimeBasedSine,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001397/0.001397, allocations: 102.8 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001374/0.001374, allocations: 214.4 kB / 18.59 MB, free: 4.402 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.598/1.598, allocations: 227.7 MB / 247.1 MB, free: 10.29 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.001989/0.001989, allocations: 69.17 kB / 307.3 MB, free: 396 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1325, allocations: 50.53 MB / 357.9 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.00301/0.1356, allocations: 1.503 MB / 359.4 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008334/0.1364, allocations: 472.4 kB / 359.8 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.2e-05/0.1365, allocations: 7.875 kB / 359.8 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.358e-05/0.1366, allocations: 11.92 kB / 359.9 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.732e-05/0.1366, allocations: 7.938 kB / 359.9 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002745/0.1369, allocations: 31.91 kB / 359.9 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.973e-05/0.137, allocations: 35.92 kB / 359.9 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.1371, allocations: 11.98 kB / 359.9 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001253/0.1373, allocations: 23.88 kB / 360 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.679e-05/0.1373, allocations: 19.91 kB / 360 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/0.1373, allocations: 0 / 360 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.597e-05/0.1374, allocations: 12 kB / 360 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.88e-05/0.1374, allocations: 11.92 kB / 360 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.375e-05/0.1375, allocations: 11.94 kB / 360 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001206/0.1376, allocations: 47.81 kB / 360.1 MB, free: 11.63 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1376, allocations: 0 / 360.1 MB, free: 11.63 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1376, allocations: 0 / 360.1 MB, free: 11.63 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.1376, allocations: 0 / 360.1 MB, free: 11.63 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004539/0.1381, allocations: 347.6 kB / 360.4 MB, free: 11.24 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.1381, allocations: 8.031 kB / 360.4 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.295e-05/0.1382, allocations: 42.75 kB / 360.5 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001421/0.1383, allocations: 16.83 kB / 360.5 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000183/0.1385, allocations: 180.2 kB / 360.6 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.1385, allocations: 4.375 kB / 360.7 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.829e-06/0.1386, allocations: 4.375 kB / 360.7 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000315/0.1389, allocations: 123.3 kB / 360.8 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.1389, allocations: 0 / 360.8 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.1389, allocations: 0 / 360.8 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.1389, allocations: 4 kB / 360.8 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.992e-05/0.139, allocations: 23.92 kB / 360.8 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001577/0.1392, allocations: 157.7 kB / 361 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001767/0.1394, allocations: 62.55 kB / 361 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.71e-05/0.1394, allocations: 24.92 kB / 361 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.1395, allocations: 0 / 361 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.1395, allocations: 38.48 kB / 361.1 MB, free: 10.44 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.1395, allocations: 0 / 361.1 MB, free: 10.44 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003021/0.1398, allocations: 77.61 kB / 361.2 MB, free: 10.36 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.501e-05/0.1399, allocations: 51.41 kB / 361.2 MB, free: 10.29 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.753e-05/0.14, allocations: 113.8 kB / 361.3 MB, free: 10.17 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.14, allocations: 25.7 kB / 361.3 MB, free: 10.14 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.097e-05/0.1401, allocations: 92.08 kB / 361.4 MB, free: 10.05 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.821e-06/0.1401, allocations: 0 / 361.4 MB, free: 10.05 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.433e-05/0.1401, allocations: 21.7 kB / 361.5 MB, free: 10.02 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.1402, allocations: 310.8 kB / 361.8 MB, free: 9.707 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.631e-05/0.1403, allocations: 8 kB / 361.8 MB, free: 9.699 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.485e-05/0.1403, allocations: 31.42 kB / 361.8 MB, free: 9.656 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.042e-05/0.1404, allocations: 35.38 kB / 361.8 MB, free: 9.609 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1404, allocations: 0 / 361.8 MB, free: 9.609 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.398e-05/0.1405, allocations: 69.41 kB / 361.9 MB, free: 9.535 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.1405, allocations: 8 kB / 361.9 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1405, allocations: 0 / 361.9 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.1405, allocations: 0 / 361.9 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.386e-05/0.1406, allocations: 8.375 kB / 361.9 MB, free: 9.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.1406, allocations: 0 / 361.9 MB, free: 9.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.856e-05/0.1406, allocations: 0 / 361.9 MB, free: 9.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.1406, allocations: 8 kB / 361.9 MB, free: 9.512 MB / 302.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 8.529e-05/0.1407, allocations: 113.8 kB / 362 MB, free: 9.391 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.1408, allocations: 77.58 kB / 362.1 MB, free: 9.309 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.154e-05/0.1409, allocations: 7.906 kB / 362.1 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.1409, allocations: 0 / 362.1 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.1409, allocations: 0 / 362.1 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1409, allocations: 4 kB / 362.1 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001246/0.141, allocations: 161.7 kB / 362.3 MB, free: 9.082 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.141, allocations: 0 / 362.3 MB, free: 9.082 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.841e-05/0.1411, allocations: 11.92 kB / 362.3 MB, free: 9.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1411, allocations: 0 / 362.3 MB, free: 9.07 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.1411, allocations: 4 kB / 362.3 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1411, allocations: 4 kB / 362.3 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1411, allocations: 0 / 362.3 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001554/0.1413, allocations: 85.05 kB / 362.4 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.993e-05/0.1414, allocations: 96.89 kB / 362.5 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.1414, allocations: 0 / 362.5 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.647e-05/0.1415, allocations: 7.984 kB / 362.5 MB, free: 8.84 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-06/0.1415, allocations: 384 / 362.5 MB, free: 8.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.1415, allocations: 4 kB / 362.5 MB, free: 8.836 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.132e-05/0.1415, allocations: 91.27 kB / 362.6 MB, free: 8.746 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1415, allocations: 3.938 kB / 362.6 MB, free: 8.742 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001897/0.1417, allocations: 4 kB / 362.6 MB, free: 8.738 MB / 302.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: 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.0004858/0.1422, allocations: 0.628 MB / 363.2 MB, free: 8.082 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001199/0.1424, allocations: 27.92 kB / 363.2 MB, free: 8.055 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1424, allocations: 0 / 363.2 MB, free: 8.055 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.1424, allocations: 0 / 363.2 MB, free: 8.055 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.1426, allocations: 23.92 kB / 363.3 MB, free: 8.031 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.1438, allocations: 1.19 MB / 364.5 MB, free: 6.742 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.1441, allocations: 0.6809 MB / 365.1 MB, free: 6.035 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.169e-05/0.1441, allocations: 4 kB / 365.1 MB, free: 6.031 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.18e-05/0.1442, allocations: 19.42 kB / 365.2 MB, free: 6.012 MB / 302.1 MB Notification: Performance of SimCode: time 4e-07/0.1442, allocations: 3.938 kB / 365.2 MB, free: 6.008 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0922/0.2364, allocations: 1.302 MB / 366.5 MB, free: 4.824 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.483/8.72, allocations: 15.8 kB / 366.5 MB, free: 4.809 MB / 302.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1)