Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.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.001805/0.001805, allocations: 122.6 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.002146/0.002146, 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.496/1.496, allocations: 230.5 MB / 254.8 MB, free: 15.1 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.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized",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.001985/0.001985, allocations: 75.81 kB / 373.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1134, allocations: 53.33 MB / 427 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.00238/0.1158, allocations: 0.9155 MB / 427.9 MB, free: 3.891 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003804/0.1162, allocations: 135.6 kB / 428.1 MB, free: 3.758 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.528e-05/0.1162, allocations: 4 kB / 428.1 MB, free: 3.754 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001039/0.1163, allocations: 7.875 kB / 428.1 MB, free: 3.746 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.435e-05/0.1164, allocations: 11.92 kB / 428.1 MB, free: 3.734 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002449/0.1167, allocations: 46.72 kB / 428.1 MB, free: 3.691 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000138/0.1168, allocations: 67.81 kB / 428.2 MB, free: 3.625 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.117, allocations: 32.16 kB / 428.2 MB, free: 3.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.551e-05/0.117, allocations: 31.86 kB / 428.3 MB, free: 3.559 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.514e-05/0.117, allocations: 31.84 kB / 428.3 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.593e-05/0.1171, allocations: 4 kB / 428.3 MB, free: 3.523 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.558e-05/0.1171, allocations: 8 kB / 428.3 MB, free: 3.516 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.612e-05/0.1172, allocations: 27.86 kB / 428.3 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.78e-05/0.1172, allocations: 43.72 kB / 428.4 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.1174, allocations: 83.58 kB / 428.4 MB, free: 3.363 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1174, allocations: 0 / 428.4 MB, free: 3.363 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1174, allocations: 0 / 428.4 MB, free: 3.363 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.762e-06/0.1174, allocations: 0 / 428.4 MB, free: 3.363 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004822/0.1179, allocations: 398.9 kB / 428.8 MB, free: 2.922 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.1179, allocations: 12.03 kB / 428.8 MB, free: 2.91 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.227e-05/0.118, allocations: 38.75 kB / 428.9 MB, free: 2.863 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.157e-05/0.118, allocations: 12.89 kB / 428.9 MB, free: 2.852 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002614/0.1182, allocations: 196.2 kB / 429.1 MB, free: 2.621 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.123e-06/0.1183, allocations: 4.375 kB / 429.1 MB, free: 2.617 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.1183, allocations: 12.38 kB / 429.1 MB, free: 2.605 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004078/0.1187, allocations: 225.5 kB / 429.3 MB, free: 2.375 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.1187, allocations: 3.938 kB / 429.3 MB, free: 2.371 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.1187, allocations: 0 / 429.3 MB, free: 2.371 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1187, allocations: 4 kB / 429.3 MB, free: 2.367 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.693e-05/0.1188, allocations: 39.97 kB / 429.4 MB, free: 2.328 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001951/0.119, allocations: 189.5 kB / 429.6 MB, free: 2.094 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000232/0.1192, allocations: 127 kB / 429.7 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.1193, allocations: 70.8 kB / 429.8 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.1193, allocations: 4 kB / 429.8 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.1194, allocations: 34.5 kB / 429.8 MB, free: 1.844 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.182e-06/0.1194, allocations: 4 kB / 429.8 MB, free: 1.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003245/0.1197, allocations: 157.4 kB / 429.9 MB, free: 1.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.717e-05/0.1198, allocations: 61.09 kB / 430 MB, free: 1.609 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.1199, allocations: 148.1 kB / 430.2 MB, free: 1.457 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.1199, allocations: 29.7 kB / 430.2 MB, free: 1.422 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.967e-05/0.12, allocations: 88.47 kB / 430.3 MB, free: 1.328 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.909e-05/0.12, allocations: 3.984 kB / 430.3 MB, free: 1.324 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.308e-05/0.1201, allocations: 45.66 kB / 430.3 MB, free: 1.273 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.1203, allocations: 326.8 kB / 430.6 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.569e-05/0.1203, allocations: 16 kB / 430.6 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.1204, allocations: 129.5 kB / 430.8 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002069/0.1206, allocations: 145.5 kB / 430.9 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.1207, allocations: 4 kB / 430.9 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002317/0.1209, allocations: 153.7 kB / 431.1 MB, free: 412 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.1209, allocations: 18 kB / 431.1 MB, free: 396 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.1209, allocations: 4 kB / 431.1 MB, free: 392 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.1209, allocations: 4 kB / 431.1 MB, free: 388 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.761e-05/0.121, allocations: 7.938 kB / 431.1 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.409e-05/0.121, allocations: 11.98 kB / 431.1 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.887e-05/0.121, allocations: 15.89 kB / 431.1 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.121, allocations: 8 kB / 431.1 MB, free: 344 kB / 350.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 (integerConstant1.y,xor1.y,xor1.u2,xor1.u1,integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay2.y,$CLKPRE.unitDelay2.u,unitDelay2.u,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],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.0001335/0.1212, allocations: 142.3 kB / 431.3 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001623/0.1213, allocations: 121.5 kB / 431.4 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.423e-05/0.1214, allocations: 25.16 kB / 431.4 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1214, allocations: 0 / 431.4 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1214, allocations: 0 / 431.4 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1214, allocations: 0 / 431.4 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001642/0.1216, allocations: 189.5 kB / 431.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1216, allocations: 4 kB / 431.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.907e-05/0.1216, allocations: 3.938 kB / 431.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.1216, allocations: 3.938 kB / 431.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.1216, allocations: 4 kB / 431.6 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1216, allocations: 4 kB / 431.6 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1216, allocations: 0 / 431.6 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002013/0.1218, allocations: 147.4 kB / 431.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.478e-05/0.1219, allocations: 108.9 kB / 431.9 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.1219, allocations: 4 kB / 431.9 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.257e-05/0.1219, allocations: 7.938 kB / 431.9 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.274e-06/0.1219, allocations: 0 / 431.9 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.1219, allocations: 11.98 kB / 431.9 MB, free: 15.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.362e-05/0.122, allocations: 111.2 kB / 432 MB, free: 15.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.122, allocations: 0 / 432 MB, free: 15.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002257/0.1222, allocations: 16 kB / 432 MB, free: 15.34 MB / 366.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,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],unitDelay2.u,unitDelay2.y,xor.u1,xor.u2,xor.y,integerConstant.y,xor1.u1,xor1.u2,xor1.y,integerConstant1.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.0006309/0.1229, allocations: 0.7374 MB / 432.8 MB, free: 14.58 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002027/0.1231, allocations: 95.78 kB / 432.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1231, allocations: 0 / 432.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.91e-07/0.1231, allocations: 0 / 432.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004028/0.1235, allocations: 88.77 kB / 432.9 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.1251, allocations: 1.627 MB / 434.6 MB, free: 12.6 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.1254, allocations: 0.72 MB / 435.3 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.65e-05/0.1254, allocations: 4.656 kB / 435.3 MB, free: 11.85 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.602e-05/0.1255, allocations: 23.42 kB / 435.3 MB, free: 11.83 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1255, allocations: 0 / 435.3 MB, free: 11.83 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0274/0.1529, allocations: 2.441 MB / 437.8 MB, free: 9.562 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.96/8.113, allocations: 9.609 kB / 437.8 MB, free: 9.559 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.79641e-05 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.772614947985858] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y[1]', 'assignClock1.y[2]'] 8.180110111832619 8.367165275 8.247138386 Calling exit ...