Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 116.6 kB / 18.49 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 189 kB / 21.43 MB, free: 1.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 225.6 MB / 249.8 MB, free: 3.727 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.BusUsage,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_BusUsage",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.BusUsage,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_BusUsage",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 47.92 kB / 366.3 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09252/0.094, allocations: 52.14 MB / 418.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002996/0.097, allocations: 1.596 MB / 420.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007707/0.09777, allocations: 430.9 kB / 420.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.629e-05/0.09783, allocations: 4 kB / 420.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.416e-05/0.09788, allocations: 15.86 kB / 420.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.775e-05/0.09796, allocations: 7.875 kB / 420.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001422/0.0981, allocations: 19.97 kB / 420.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000109/0.09821, allocations: 59.78 kB / 420.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001747/0.09838, allocations: 35.91 kB / 420.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.09849, allocations: 31.86 kB / 420.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.724e-05/0.09855, allocations: 27.84 kB / 420.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.09857, allocations: 8 kB / 420.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.127e-05/0.09858, allocations: 4 kB / 420.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.087e-05/0.09861, allocations: 15.98 kB / 420.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.443e-05/0.09865, allocations: 31.8 kB / 420.7 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001391/0.09879, allocations: 67.66 kB / 420.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.09879, allocations: 3.938 kB / 420.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.09879, allocations: 0 / 420.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.0988, allocations: 0 / 420.8 MB, free: 10.26 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.0005259/0.09933, allocations: 387.1 kB / 421.2 MB, free: 9.836 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.09936, allocations: 8.031 kB / 421.2 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.164e-05/0.09938, allocations: 8.188 kB / 421.2 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.65e-05/0.09942, allocations: 38.73 kB / 421.2 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.969e-05/0.09945, allocations: 8.891 kB / 421.3 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.09959, allocations: 172.3 kB / 421.4 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.809e-05/0.09961, allocations: 15.94 kB / 421.4 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.09963, allocations: 7.938 kB / 421.4 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002387/0.09987, allocations: 113.9 kB / 421.6 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.09987, allocations: 0 / 421.6 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.09988, allocations: 0 / 421.6 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.09989, allocations: 8 kB / 421.6 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001776/0.1001, allocations: 55.89 kB / 421.6 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006639/0.1007, allocations: 0.6381 MB / 422.3 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001931/0.1009, allocations: 125 kB / 422.4 MB, free: 8.469 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.101, allocations: 56.33 kB / 422.4 MB, free: 8.398 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.1011, allocations: 0 / 422.4 MB, free: 8.398 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.1011, allocations: 42.5 kB / 422.5 MB, free: 8.348 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 8.82e-07/0.1011, allocations: 0 / 422.5 MB, free: 8.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004487/0.1015, allocations: 126 kB / 422.6 MB, free: 8.219 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.051e-05/0.1016, allocations: 162.2 kB / 422.8 MB, free: 8.023 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.606e-05/0.1017, allocations: 125.8 kB / 422.9 MB, free: 7.891 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.1017, allocations: 25.7 kB / 422.9 MB, free: 7.859 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.55e-05/0.1018, allocations: 96.09 kB / 423 MB, free: 7.762 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.1018, allocations: 19.78 kB / 423 MB, free: 7.742 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-05/0.1019, allocations: 21.72 kB / 423 MB, free: 7.715 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.102, allocations: 318.8 kB / 423.4 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.963e-05/0.1021, allocations: 23.98 kB / 423.4 MB, free: 7.371 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.326e-05/0.1022, allocations: 48.28 kB / 423.4 MB, free: 7.309 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001865/0.1024, allocations: 80.2 kB / 423.5 MB, free: 7.215 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1024, allocations: 0 / 423.5 MB, free: 7.215 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002256/0.1026, allocations: 93.53 kB / 423.6 MB, free: 7.117 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.1026, allocations: 8.156 kB / 423.6 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.1026, allocations: 11.92 kB / 423.6 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.1026, allocations: 0 / 423.6 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.968e-05/0.1027, allocations: 12 kB / 423.6 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.1027, allocations: 0 / 423.6 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.679e-05/0.1028, allocations: 15.94 kB / 423.6 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.115e-05/0.1028, allocations: 7.984 kB / 423.6 MB, free: 7.062 MB / 350.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 8.525e-05/0.1029, allocations: 117.8 kB / 423.8 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.649e-05/0.103, allocations: 4 kB / 423.8 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.236e-05/0.103, allocations: 23.45 kB / 423.8 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.103, allocations: 0 / 423.8 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.103, allocations: 4 kB / 423.8 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.103, allocations: 0 / 423.8 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003734/0.1034, allocations: 185.6 kB / 424 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.1034, allocations: 3.938 kB / 424 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.075e-05/0.1035, allocations: 11.98 kB / 424 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.1035, allocations: 4 kB / 424 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.497e-06/0.1035, allocations: 3.938 kB / 424 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.1035, allocations: 4.125 kB / 424 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.1035, allocations: 8 kB / 424 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004296/0.1039, allocations: 492.5 kB / 424.5 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.927e-05/0.104, allocations: 93 kB / 424.6 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.104, allocations: 11.94 kB / 424.6 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.1042, allocations: 7.984 kB / 424.6 MB, free: 6.008 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.1042, allocations: 7.984 kB / 424.6 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.1042, allocations: 0 / 424.6 MB, free: 6 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.872e-05/0.1043, allocations: 103.6 kB / 424.7 MB, free: 5.898 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1043, allocations: 0 / 424.7 MB, free: 5.898 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003633/0.1047, allocations: 8 kB / 424.7 MB, free: 5.891 MB / 350.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.0006854/0.1054, allocations: 1.022 MB / 425.7 MB, free: 4.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002239/0.1056, allocations: 63.83 kB / 425.8 MB, free: 4.777 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1056, allocations: 0 / 425.8 MB, free: 4.777 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.1057, allocations: 32.48 kB / 425.8 MB, free: 4.746 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004885/0.1062, allocations: 8.062 kB / 425.8 MB, free: 4.738 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007024/0.1069, allocations: 236.2 kB / 426.1 MB, free: 4.453 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.1072, allocations: 0.6961 MB / 426.8 MB, free: 3.73 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.352e-05/0.1072, allocations: 8 kB / 426.8 MB, free: 3.723 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.958e-05/0.1073, allocations: 23.42 kB / 426.8 MB, free: 3.699 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1073, allocations: 0 / 426.8 MB, free: 3.699 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01732/0.1246, allocations: 1.693 MB / 428.5 MB, free: 2.07 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.069/8.194, allocations: 8.594 kB / 428.5 MB, free: 2.062 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_BusUsage_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_BusUsage.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.499067157041281] Failed to read output from testmodel.py, exit status != 0: ['time', 'controlBus.realSignal1', 'controlBus.integerSignal', 'controlBus.booleanSignal', 'controlBus.subControlBus.myRealSignal', 'controlBus.subControlBus.myBooleanSignal'] 8.327063600998372 8.343960767 8.241984267 Calling exit ...