Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00505/0.00505, allocations: 114.3 kB / 21.97 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 212.3 kB / 25.27 MB, free: 3.25 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.373/1.373, allocations: 207.6 MB / 236 MB, free: 9.992 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.BusUsage,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_BusUsage",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.BusUsage,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_BusUsage",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001685, allocations: 47.94 kB / 348 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2424, allocations: 49.16 MB / 397.1 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.00285/0.2453, allocations: 1.607 MB / 398.7 MB, free: 7.879 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000814/0.2461, allocations: 474.3 kB / 399.2 MB, free: 7.551 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.549e-05/0.2462, allocations: 1.281 kB / 399.2 MB, free: 7.551 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.571e-05/0.2462, allocations: 10.34 kB / 399.2 MB, free: 7.543 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.824e-05/0.2463, allocations: 13.67 kB / 399.2 MB, free: 7.531 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001773/0.2465, allocations: 17.67 kB / 399.2 MB, free: 7.523 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001343/0.2466, allocations: 66.39 kB / 399.3 MB, free: 7.488 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002151/0.2468, allocations: 33.55 kB / 399.3 MB, free: 7.473 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.2469, allocations: 26.48 kB / 399.4 MB, free: 7.461 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.247e-05/0.247, allocations: 44.66 kB / 399.4 MB, free: 7.43 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.317e-05/0.2471, allocations: 4.5 kB / 399.4 MB, free: 7.43 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.744e-05/0.2471, allocations: 5.781 kB / 399.4 MB, free: 7.43 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.585e-05/0.2471, allocations: 8.281 kB / 399.4 MB, free: 7.426 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.771e-05/0.2472, allocations: 32.95 kB / 399.5 MB, free: 7.402 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001659/0.2473, allocations: 68.22 kB / 399.5 MB, free: 7.375 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.2473, allocations: 1.188 kB / 399.5 MB, free: 7.375 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.2473, allocations: 0 / 399.5 MB, free: 7.375 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.2473, allocations: 0 / 399.5 MB, free: 7.375 MB / 318.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.0005218/0.2479, allocations: 314 kB / 399.8 MB, free: 7.082 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.2479, allocations: 13.7 kB / 399.8 MB, free: 7.078 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.97e-05/0.2479, allocations: 1.531 kB / 399.8 MB, free: 7.078 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.701e-05/0.248, allocations: 38.12 kB / 399.9 MB, free: 7.035 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.364e-05/0.248, allocations: 13.42 kB / 399.9 MB, free: 7.027 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.513e-05/0.2481, allocations: 124 kB / 400 MB, free: 6.887 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.844e-05/0.2481, allocations: 7.469 kB / 400 MB, free: 6.883 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.2481, allocations: 4.156 kB / 400 MB, free: 6.883 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002261/0.2484, allocations: 115.5 kB / 400.1 MB, free: 6.789 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.2484, allocations: 4.969 kB / 400.1 MB, free: 6.785 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.2484, allocations: 1.062 kB / 400.1 MB, free: 6.785 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.2484, allocations: 1.344 kB / 400.1 MB, free: 6.785 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001776/0.2486, allocations: 63.55 kB / 400.2 MB, free: 6.766 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005011/0.2491, allocations: 0.6033 MB / 400.8 MB, free: 6.164 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/0.2492, allocations: 118.4 kB / 400.9 MB, free: 6.027 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.692e-05/0.2493, allocations: 57.09 kB / 401 MB, free: 5.977 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.2493, allocations: 6.312 kB / 401 MB, free: 5.973 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.532e-05/0.2493, allocations: 33.89 kB / 401 MB, free: 5.934 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.2493, allocations: 0 / 401 MB, free: 5.934 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004198/0.2497, allocations: 131.1 kB / 401.1 MB, free: 5.867 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.2498, allocations: 160.1 kB / 401.3 MB, free: 5.676 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.137e-05/0.2498, allocations: 126 kB / 401.4 MB, free: 5.562 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.887e-06/0.2499, allocations: 29.64 kB / 401.5 MB, free: 5.527 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.274e-05/0.2499, allocations: 97.89 kB / 401.6 MB, free: 5.434 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.042e-05/0.2499, allocations: 20.31 kB / 401.6 MB, free: 5.418 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.56e-05/0.2499, allocations: 20.33 kB / 401.6 MB, free: 5.398 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.071e-05/0.25, allocations: 324.2 kB / 401.9 MB, free: 5.078 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.663e-05/0.2501, allocations: 19.02 kB / 401.9 MB, free: 5.074 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.865e-05/0.2502, allocations: 48.72 kB / 402 MB, free: 5.031 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.2503, allocations: 87.52 kB / 402.1 MB, free: 4.969 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2503, allocations: 0 / 402.1 MB, free: 4.969 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002058/0.2505, allocations: 96.81 kB / 402.2 MB, free: 4.918 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.2505, allocations: 5.656 kB / 402.2 MB, free: 4.918 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.2505, allocations: 1.5 kB / 402.2 MB, free: 4.918 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.2506, allocations: 2.031 kB / 402.2 MB, free: 4.918 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.841e-05/0.2507, allocations: 16.39 kB / 402.2 MB, free: 4.914 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.2507, allocations: 5.156 kB / 402.2 MB, free: 4.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.369e-05/0.2507, allocations: 11.47 kB / 402.2 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.2507, allocations: 3.578 kB / 402.2 MB, free: 4.906 MB / 318.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 6.674e-05/0.2508, allocations: 120 kB / 402.3 MB, free: 4.785 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.792e-05/0.2509, allocations: 7.594 kB / 402.3 MB, free: 4.781 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.808e-05/0.2509, allocations: 15.83 kB / 402.3 MB, free: 4.766 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.2509, allocations: 1.219 kB / 402.3 MB, free: 4.766 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.2509, allocations: 9.75 kB / 402.3 MB, free: 4.758 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.2509, allocations: 2.547 kB / 402.4 MB, free: 4.758 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000326/0.2513, allocations: 151.3 kB / 402.5 MB, free: 4.594 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.2513, allocations: 1.672 kB / 402.5 MB, free: 4.594 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.905e-05/0.2513, allocations: 16.39 kB / 402.5 MB, free: 4.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.2513, allocations: 5.844 kB / 402.5 MB, free: 4.586 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.2513, allocations: 2.688 kB / 402.5 MB, free: 4.586 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.2513, allocations: 1.156 kB / 402.5 MB, free: 4.586 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.2514, allocations: 6.781 kB / 402.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002879/0.2516, allocations: 493.9 kB / 403 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.4e-05/0.2517, allocations: 12.2 kB / 403 MB, free: 4.121 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.2517, allocations: 9.125 kB / 403 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002056/0.2519, allocations: 7.703 kB / 403 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.854e-05/0.2519, allocations: 15 kB / 403.1 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.2519, allocations: 3.062 kB / 403.1 MB, free: 4.105 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.316e-05/0.252, allocations: 98.86 kB / 403.2 MB, free: 4.02 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.252, allocations: 0 / 403.2 MB, free: 4.02 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003846/0.2524, allocations: 9.5 kB / 403.2 MB, free: 4.02 MB / 318.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.0004255/0.2528, allocations: 1.013 MB / 404.2 MB, free: 3.039 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002235/0.253, allocations: 61.16 kB / 404.2 MB, free: 3.023 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.253, allocations: 1.344 kB / 404.2 MB, free: 3.023 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 9.857e-05/0.2531, allocations: 35.77 kB / 404.3 MB, free: 3.012 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004987/0.2536, allocations: 8.328 kB / 404.3 MB, free: 3.008 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006275/0.2543, allocations: 238.6 kB / 404.5 MB, free: 2.781 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001398/0.2544, allocations: 0.6936 MB / 405.2 MB, free: 2.082 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.267e-05/0.2544, allocations: 3.672 kB / 405.2 MB, free: 2.082 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.852e-05/0.2545, allocations: 20.19 kB / 405.2 MB, free: 2.066 MB / 318.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2545, allocations: 0 / 405.2 MB, free: 2.066 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02152/0.276, allocations: 1.831 MB / 407.1 MB, free: 1.41 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/10.94, allocations: 15.64 kB / 407.1 MB, free: 1.398 MB / 318.1 MB " [Timeout remaining time 649] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_BusUsage_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_BusUsage.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.209807728009764] Failed to read output from testmodel.py, exit status != 0: ['time', 'controlBus.realSignal1', 'controlBus.integerSignal', 'controlBus.booleanSignal', 'controlBus.subControlBus.myRealSignal', 'controlBus.subControlBus.myBooleanSignal'] 11.09312019898789 11.108776239 10.858208786 Calling exit ...