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.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001752/0.001752, allocations: 122.5 kB / 18.51 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002018/0.002018, allocations: 215.2 kB / 21.46 MB, free: 1.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.628/1.628, allocations: 230.5 MB / 254.8 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] 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.TimeBasedStep,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.001945/0.001945, allocations: 67.84 kB / 373.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09847/0.1004, allocations: 53.32 MB / 427 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002975/0.1034, allocations: 1.461 MB / 428.5 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002825/0.1037, allocations: 95.69 kB / 428.5 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.924e-05/0.1037, allocations: 0 / 428.5 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.987e-05/0.1038, allocations: 3.938 kB / 428.5 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.052e-05/0.1038, allocations: 7.969 kB / 428.6 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002467/0.1041, allocations: 15.94 kB / 428.6 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.711e-05/0.1041, allocations: 27.92 kB / 428.6 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.1042, allocations: 19.97 kB / 428.6 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.204e-05/0.1043, allocations: 11.94 kB / 428.6 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.17e-05/0.1043, allocations: 7.922 kB / 428.6 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.1043, allocations: 4 kB / 428.6 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.885e-06/0.1043, allocations: 0 / 428.6 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.948e-05/0.1044, allocations: 8 kB / 428.7 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.37e-05/0.1044, allocations: 19.81 kB / 428.7 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.252e-05/0.1045, allocations: 27.83 kB / 428.7 MB, free: 3.082 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1045, allocations: 0 / 428.7 MB, free: 3.082 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1045, allocations: 0 / 428.7 MB, free: 3.082 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1045, allocations: 0 / 428.7 MB, free: 3.082 MB / 350.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.0004481/0.1049, allocations: 351.4 kB / 429 MB, free: 2.688 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.105, allocations: 8.031 kB / 429 MB, free: 2.68 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.79e-05/0.105, allocations: 34.69 kB / 429.1 MB, free: 2.637 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.832e-05/0.1051, allocations: 8.891 kB / 429.1 MB, free: 2.629 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002418/0.1053, allocations: 172.4 kB / 429.3 MB, free: 2.422 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.1053, allocations: 4.375 kB / 429.3 MB, free: 2.418 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.717e-06/0.1053, allocations: 384 / 429.3 MB, free: 2.418 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003229/0.1056, allocations: 111.9 kB / 429.4 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.1056, allocations: 3.938 kB / 429.4 MB, free: 2.293 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.1057, allocations: 3.984 kB / 429.4 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1057, allocations: 0 / 429.4 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.295e-05/0.1057, allocations: 15.98 kB / 429.4 MB, free: 2.273 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001536/0.1059, allocations: 165.6 kB / 429.6 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.1061, allocations: 50.48 kB / 429.6 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.468e-05/0.1061, allocations: 24.92 kB / 429.6 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.1062, allocations: 4 kB / 429.6 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.1062, allocations: 30.56 kB / 429.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.1062, allocations: 0 / 429.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002233/0.1064, allocations: 81.55 kB / 429.7 MB, free: 1.848 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.72e-05/0.1065, allocations: 55.34 kB / 429.8 MB, free: 1.781 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.307e-05/0.1065, allocations: 109.8 kB / 429.9 MB, free: 1.664 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.1066, allocations: 25.7 kB / 429.9 MB, free: 1.633 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.648e-05/0.1066, allocations: 84.14 kB / 430 MB, free: 1.547 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.024e-06/0.1066, allocations: 0 / 430 MB, free: 1.547 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.61e-05/0.1067, allocations: 21.7 kB / 430 MB, free: 1.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1068, allocations: 318.8 kB / 430.3 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.021e-05/0.1068, allocations: 0 / 430.3 MB, free: 1.199 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.435e-05/0.1068, allocations: 31.42 kB / 430.4 MB, free: 1.156 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.044e-05/0.1069, allocations: 43.38 kB / 430.4 MB, free: 1.102 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1069, allocations: 0 / 430.4 MB, free: 1.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.843e-05/0.107, allocations: 57.58 kB / 430.5 MB, free: 1.039 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.107, allocations: 7.938 kB / 430.5 MB, free: 1.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.107, allocations: 4 kB / 430.5 MB, free: 1.027 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.107, allocations: 0 / 430.5 MB, free: 1.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.257e-05/0.1071, allocations: 7.938 kB / 430.5 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1071, allocations: 8.234 kB / 430.5 MB, free: 1.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.919e-05/0.1071, allocations: 8.062 kB / 430.5 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.1071, allocations: 8 kB / 430.5 MB, free: 0.9961 MB / 350.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: 3 (assignClock1.y,assignClock1.u,step.y) * 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.373e-05/0.1072, allocations: 109.8 kB / 430.6 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001436/0.1073, allocations: 61.61 kB / 430.7 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.452e-05/0.1074, allocations: 7.906 kB / 430.7 MB, free: 0.793 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1074, allocations: 0 / 430.7 MB, free: 0.793 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1074, allocations: 0 / 430.7 MB, free: 0.793 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1074, allocations: 7.938 kB / 430.7 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001194/0.1075, allocations: 157.6 kB / 430.9 MB, free: 0.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.1075, allocations: 8 kB / 430.9 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.754e-05/0.1075, allocations: 4 kB / 430.9 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.229e-06/0.1075, allocations: 3.938 kB / 430.9 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.1075, allocations: 4 kB / 430.9 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1075, allocations: 0 / 430.9 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1075, allocations: 336 / 430.9 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001489/0.1077, allocations: 89.05 kB / 431 MB, free: 468 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.083e-05/0.1077, allocations: 81.11 kB / 431 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.1078, allocations: 3.938 kB / 431 MB, free: 364 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.936e-05/0.1078, allocations: 7.984 kB / 431.1 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.604e-06/0.1078, allocations: 3.938 kB / 431.1 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-06/0.1078, allocations: 0 / 431.1 MB, free: 352 kB / 350.1 MB Notification: Performance of sorting global known variables: time 4.694e-05/0.1078, allocations: 83.28 kB / 431.1 MB, free: 268 kB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1078, allocations: 0 / 431.1 MB, free: 268 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001785/0.108, allocations: 4 kB / 431.1 MB, free: 264 kB / 350.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: 3 (step.y,assignClock1.u,assignClock1.y) * 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.0005258/0.1085, allocations: 0.6324 MB / 431.8 MB, free: 15.6 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001099/0.1087, allocations: 23.92 kB / 431.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1087, allocations: 0 / 431.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.1087, allocations: 0 / 431.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.1089, allocations: 22.86 kB / 431.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.1099, allocations: 1.161 MB / 433 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.1102, allocations: 0.6807 MB / 433.7 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.56e-05/0.1102, allocations: 4 kB / 433.7 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.1103, allocations: 11.44 kB / 433.7 MB, free: 13.57 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1103, allocations: 0 / 433.7 MB, free: 13.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02614/0.1364, allocations: 1.256 MB / 434.9 MB, free: 12.45 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.933/8.069, allocations: 9.812 kB / 434.9 MB, free: 12.45 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000199561 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.91820153594017] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y'] 8.137296520639211 8.346115913 8.052243823 Calling exit ...