Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.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.001356/0.001356, 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.001457/0.001457, 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.471/1.471, allocations: 230.5 MB / 254.8 MB, free: 15.11 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.Blocks.Examples.BusUsage,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_BusUsage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.BusUsage,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_BusUsage",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.00202/0.00202, allocations: 63.84 kB / 373.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1101, allocations: 53.32 MB / 427 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003389/0.1134, allocations: 1.614 MB / 428.6 MB, free: 3.184 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009505/0.1144, allocations: 494.7 kB / 429.1 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.194e-05/0.1145, allocations: 11.88 kB / 429.1 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.292e-05/0.1145, allocations: 7.922 kB / 429.1 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.756e-05/0.1146, allocations: 15.8 kB / 429.1 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002065/0.1148, allocations: 35.97 kB / 429.2 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001334/0.1149, allocations: 59.72 kB / 429.2 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001812/0.1151, allocations: 36.2 kB / 429.3 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.1153, allocations: 31.86 kB / 429.3 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.111e-05/0.1153, allocations: 35.78 kB / 429.3 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.1153, allocations: 4 kB / 429.3 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.116e-05/0.1154, allocations: 12 kB / 429.3 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.944e-05/0.1154, allocations: 15.91 kB / 429.4 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.2e-05/0.1155, allocations: 31.81 kB / 429.4 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.1156, allocations: 71.64 kB / 429.5 MB, free: 2.328 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.1156, allocations: 11.94 kB / 429.5 MB, free: 2.316 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1156, allocations: 0 / 429.5 MB, free: 2.316 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.1156, allocations: 0 / 429.5 MB, free: 2.316 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005821/0.1162, allocations: 375.2 kB / 429.8 MB, free: 1.902 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.1162, allocations: 12.03 kB / 429.8 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.672e-05/0.1163, allocations: 38.73 kB / 429.9 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001434/0.1164, allocations: 20.84 kB / 429.9 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.1167, allocations: 188.2 kB / 430.1 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.1167, allocations: 8.375 kB / 430.1 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.974e-05/0.1168, allocations: 8.375 kB / 430.1 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002481/0.117, allocations: 117.3 kB / 430.2 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.117, allocations: 3.938 kB / 430.2 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.072e-05/0.117, allocations: 4 kB / 430.2 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.117, allocations: 0 / 430.2 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001903/0.1172, allocations: 67.88 kB / 430.3 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006699/0.1179, allocations: 0.642 MB / 430.9 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.1181, allocations: 108.9 kB / 431 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.1182, allocations: 56.41 kB / 431.1 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.1182, allocations: 8 kB / 431.1 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.1183, allocations: 34.56 kB / 431.1 MB, free: 408 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.1183, allocations: 0 / 431.1 MB, free: 408 kB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004674/0.1187, allocations: 129.4 kB / 431.3 MB, free: 272 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/0.1188, allocations: 162.2 kB / 431.4 MB, free: 72 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.119, allocations: 122.4 kB / 431.5 MB, free: 15.94 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.119, allocations: 25.7 kB / 431.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.324e-05/0.1191, allocations: 104.1 kB / 431.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.079e-05/0.1191, allocations: 7.906 kB / 431.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.882e-05/0.1191, allocations: 29.64 kB / 431.7 MB, free: 15.76 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.1193, allocations: 314.8 kB / 432 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.528e-05/0.1194, allocations: 23.92 kB / 432 MB, free: 15.42 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.1195, allocations: 56.27 kB / 432.1 MB, free: 15.35 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001865/0.1197, allocations: 76.2 kB / 432.2 MB, free: 15.26 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1197, allocations: 4 kB / 432.2 MB, free: 15.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002368/0.1199, allocations: 97.48 kB / 432.3 MB, free: 15.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.1199, allocations: 4 kB / 432.3 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.1199, allocations: 4 kB / 432.3 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.1199, allocations: 0 / 432.3 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.12, allocations: 15.92 kB / 432.3 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.1201, allocations: 12.09 kB / 432.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.164e-05/0.1201, allocations: 15.92 kB / 432.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.1201, allocations: 4 kB / 432.3 MB, free: 15.1 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (integerStep.y,booleanStep.y,part.subControlBus.myBooleanSignal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.0001034/0.1202, allocations: 113.8 kB / 432.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.167e-05/0.1203, allocations: 7.953 kB / 432.4 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.491e-05/0.1204, allocations: 11.53 kB / 432.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.1204, allocations: 3.984 kB / 432.5 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.1204, allocations: 7.938 kB / 432.5 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.1204, allocations: 4 kB / 432.5 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004133/0.1208, allocations: 185.6 kB / 432.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1208, allocations: 0 / 432.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.892e-05/0.1209, allocations: 11.98 kB / 432.7 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.1209, allocations: 4 kB / 432.7 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.146e-06/0.1209, allocations: 3.938 kB / 432.7 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.1209, allocations: 4 kB / 432.7 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.1209, allocations: 3.938 kB / 432.7 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004216/0.1213, allocations: 488.6 kB / 433.2 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.275e-05/0.1214, allocations: 85.25 kB / 433.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/0.1214, allocations: 12 kB / 433.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.1216, allocations: 7.984 kB / 433.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.015e-05/0.1217, allocations: 15.88 kB / 433.3 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.455e-06/0.1217, allocations: 7.984 kB / 433.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.522e-05/0.1217, allocations: 95.22 kB / 433.4 MB, free: 13.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1217, allocations: 0 / 433.4 MB, free: 13.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003781/0.1221, allocations: 8 kB / 433.4 MB, free: 13.94 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (integerStep.y,booleanStep.y,part.subControlBus.myBooleanSignal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.000761/0.1229, allocations: 1.023 MB / 434.4 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002445/0.1231, allocations: 67.84 kB / 434.5 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1231, allocations: 0 / 434.5 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.1232, allocations: 31.91 kB / 434.5 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005062/0.1237, allocations: 8 kB / 434.5 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002125/0.1258, allocations: 1.76 MB / 436.3 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004072/0.1263, allocations: 0.7001 MB / 437 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.6e-05/0.1263, allocations: 3.984 kB / 437 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.478e-05/0.1263, allocations: 19.44 kB / 437 MB, free: 10.16 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1263, allocations: 0 / 437 MB, free: 10.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03096/0.1573, allocations: 1.697 MB / 438.7 MB, free: 8.516 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.114/8.271, allocations: 4.062 kB / 438.7 MB, free: 8.512 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039976 Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_BusUsage.fmu > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.967883063014597] Failed to read output from testmodel.py, exit status != 0: ['time', 'controlBus.realSignal1', 'controlBus.integerSignal', 'controlBus.booleanSignal', 'controlBus.subControlBus.myRealSignal', 'controlBus.subControlBus.myBooleanSignal'] 8.341865967959166 8.557278474 8.439410593 Calling exit ...