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.Sample1.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.001265/0.001265, allocations: 121.2 kB / 18.5 MB, free: 4.578 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.001404/0.001404, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.61/1.61, allocations: 230.5 MB / 254.8 MB, free: 15.12 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.Sample1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1",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.001944/0.001944, allocations: 67.83 kB / 373.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1098, allocations: 53.33 MB / 427 MB, free: 4.91 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.002853/0.1126, allocations: 1.529 MB / 428.5 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003963/0.113, allocations: 139.5 kB / 428.7 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.828e-05/0.1131, allocations: 3.938 kB / 428.7 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.307e-05/0.1131, allocations: 7.875 kB / 428.7 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.1132, allocations: 7.938 kB / 428.7 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002327/0.1135, allocations: 43.83 kB / 428.7 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.205e-05/0.1136, allocations: 35.92 kB / 428.8 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.056e-05/0.1136, allocations: 8 kB / 428.8 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.45e-05/0.1137, allocations: 15.92 kB / 428.8 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.945e-05/0.1137, allocations: 23.84 kB / 428.8 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.1137, allocations: 4 kB / 428.8 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.749e-06/0.1138, allocations: 0 / 428.8 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.142e-05/0.1138, allocations: 8 kB / 428.8 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.56e-05/0.1138, allocations: 19.81 kB / 428.8 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001328/0.114, allocations: 51.73 kB / 428.9 MB, free: 3.008 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.114, allocations: 0 / 428.9 MB, free: 3.008 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.114, allocations: 0 / 428.9 MB, free: 3.008 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.114, allocations: 4 kB / 428.9 MB, free: 3.004 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005016/0.1145, allocations: 371.1 kB / 429.3 MB, free: 2.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.1145, allocations: 12.03 kB / 429.3 MB, free: 2.578 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.21e-05/0.1146, allocations: 34.75 kB / 429.3 MB, free: 2.535 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.757e-05/0.1146, allocations: 8.891 kB / 429.3 MB, free: 2.527 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002523/0.1149, allocations: 198.4 kB / 429.5 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.1149, allocations: 4.375 kB / 429.5 MB, free: 2.293 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.1149, allocations: 8.375 kB / 429.5 MB, free: 2.285 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002737/0.1152, allocations: 113.6 kB / 429.6 MB, free: 2.156 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.1152, allocations: 3.938 kB / 429.6 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.1152, allocations: 0 / 429.6 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.1152, allocations: 0 / 429.6 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.216e-05/0.1153, allocations: 27.92 kB / 429.7 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003435/0.1156, allocations: 257.8 kB / 429.9 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002108/0.1158, allocations: 138.2 kB / 430 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.464e-05/0.1159, allocations: 29.77 kB / 430.1 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.1159, allocations: 4 kB / 430.1 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.1159, allocations: 34.56 kB / 430.1 MB, free: 1.566 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 2.996e-06/0.116, allocations: 3.984 kB / 430.1 MB, free: 1.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002404/0.1162, allocations: 77.56 kB / 430.2 MB, free: 1.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.271e-05/0.1163, allocations: 81.23 kB / 430.3 MB, free: 1.383 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.1164, allocations: 138.1 kB / 430.4 MB, free: 1.234 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.1164, allocations: 29.64 kB / 430.4 MB, free: 1.199 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.164e-05/0.1165, allocations: 84.14 kB / 430.5 MB, free: 1.113 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.025e-05/0.1165, allocations: 3.953 kB / 430.5 MB, free: 1.109 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.83e-05/0.1165, allocations: 21.72 kB / 430.5 MB, free: 1.082 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.1167, allocations: 314.8 kB / 430.9 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.869e-05/0.1167, allocations: 15.88 kB / 430.9 MB, free: 0.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.221e-05/0.1168, allocations: 39.42 kB / 430.9 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.378e-05/0.1169, allocations: 43.36 kB / 430.9 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.1169, allocations: 7.938 kB / 431 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001468/0.117, allocations: 69.61 kB / 431 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.117, allocations: 4 kB / 431 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.117, allocations: 4 kB / 431 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.117, allocations: 0 / 431 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.733e-05/0.1171, allocations: 8 kB / 431 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.1171, allocations: 0 / 431 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.673e-05/0.1171, allocations: 11.94 kB / 431 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.1171, allocations: 4.125 kB / 431.1 MB, free: 0.5312 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: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * 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.0001099/0.1173, allocations: 125.7 kB / 431.2 MB, free: 408 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.161e-05/0.1173, allocations: 41.69 kB / 431.2 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.319e-05/0.1174, allocations: 12.25 kB / 431.2 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.1174, allocations: 0 / 431.2 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.1174, allocations: 4 kB / 431.2 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1174, allocations: 0 / 431.2 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001878/0.1176, allocations: 173.5 kB / 431.4 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.1176, allocations: 0 / 431.4 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.806e-05/0.1176, allocations: 15.98 kB / 431.4 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1176, allocations: 0 / 431.4 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.1176, allocations: 4 kB / 431.4 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1176, allocations: 0 / 431.4 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.1176, allocations: 3.938 kB / 431.4 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002015/0.1178, allocations: 164.3 kB / 431.6 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.613e-05/0.1179, allocations: 97.09 kB / 431.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.16e-05/0.1179, allocations: 0 / 431.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.573e-05/0.118, allocations: 0 / 431.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.587e-05/0.118, allocations: 4 kB / 431.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.118, allocations: 0 / 431.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.703e-05/0.1181, allocations: 113.3 kB / 431.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1181, allocations: 0 / 431.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002173/0.1183, allocations: 4 kB / 431.8 MB, free: 15.67 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (step.y,assignClock.u,assignClock.y,sample1.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.0005173/0.1188, allocations: 0.7054 MB / 432.5 MB, free: 14.94 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001295/0.1189, allocations: 32.28 kB / 432.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1189, allocations: 3.938 kB / 432.5 MB, free: 14.9 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.409e-05/0.119, allocations: 12.23 kB / 432.6 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.1193, allocations: 20.03 kB / 432.6 MB, free: 14.87 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.1206, allocations: 1.338 MB / 433.9 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.121, allocations: 0.6885 MB / 434.6 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.514e-05/0.121, allocations: 4 kB / 434.6 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.987e-05/0.121, allocations: 11.44 kB / 434.6 MB, free: 12.7 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.121, allocations: 0 / 434.6 MB, free: 12.7 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02338/0.1444, allocations: 1.47 MB / 436.1 MB, free: 11.37 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.782/7.926, allocations: 15.5 kB / 436.1 MB, free: 11.36 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.99122e-05 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.746398863382638] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock.y', 'sample1.y'] 7.9932325929403305 8.170583769 7.890880918 Calling exit ...