Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources.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.001716/0.001716, allocations: 122.5 kB / 18.51 MB, free: 4.52 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.002128/0.002128, allocations: 215.2 kB / 21.46 MB, free: 1.566 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.487/1.487, 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.Blocks.Examples.ShowLogicalSources,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_ShowLogicalSources",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.ShowLogicalSources,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_ShowLogicalSources",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.002008/0.002008, allocations: 75.83 kB / 373.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1119, allocations: 53.32 MB / 427 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.003496/0.1154, allocations: 1.86 MB / 428.8 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002072/0.1175, allocations: 1.189 MB / 430 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.67e-05/0.1176, allocations: 3.938 kB / 430 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006145/0.1182, allocations: 175.5 kB / 430.2 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004446/0.1186, allocations: 170.4 kB / 430.4 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003671/0.119, allocations: 135.6 kB / 430.5 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003141/0.1193, allocations: 219.4 kB / 430.7 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.859e-05/0.1194, allocations: 21.48 kB / 430.7 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.1196, allocations: 83.69 kB / 430.8 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.1197, allocations: 99.53 kB / 430.9 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.683e-05/0.1197, allocations: 12 kB / 430.9 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001419/0.1199, allocations: 55.95 kB / 431 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.981e-05/0.1199, allocations: 47.84 kB / 431 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.066e-05/0.12, allocations: 75.48 kB / 431.1 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003472/0.1204, allocations: 231 kB / 431.3 MB, free: 440 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1204, allocations: 3.938 kB / 431.3 MB, free: 436 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1204, allocations: 0 / 431.3 MB, free: 436 kB / 350.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.1204, allocations: 4 kB / 431.3 MB, free: 432 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.2138/0.3342, allocations: 0.5343 MB / 431.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.3342, allocations: 8.938 kB / 431.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.421e-05/0.3343, allocations: 37.5 kB / 431.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.446e-05/0.3343, allocations: 23.08 kB / 431.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003416/0.3347, allocations: 269 kB / 432.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.3347, allocations: 4.188 kB / 432.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.3347, allocations: 9.719 kB / 432.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002436/0.3349, allocations: 117.1 kB / 432.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.335, allocations: 5.25 kB / 432.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.335, allocations: 0.75 kB / 432.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.335, allocations: 2.344 kB / 432.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001551/0.3351, allocations: 54.06 kB / 432.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005873/0.3357, allocations: 0.6039 MB / 433 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000246/0.336, allocations: 120.1 kB / 433.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.807e-05/0.3361, allocations: 48.34 kB / 433.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.792e-05/0.3361, allocations: 3.594 kB / 433.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002024/0.3363, allocations: 121.7 kB / 433.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.402e-06/0.3363, allocations: 0 / 433.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004663/0.3368, allocations: 176.4 kB / 433.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.3368, allocations: 135.8 kB / 433.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002882/0.3371, allocations: 293.5 kB / 433.9 MB, free: 9.965 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.3371, allocations: 32.58 kB / 433.9 MB, free: 9.934 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.515e-05/0.3372, allocations: 130.3 kB / 434 MB, free: 9.848 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.915e-05/0.3372, allocations: 31.02 kB / 434.1 MB, free: 9.832 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.161e-05/0.3373, allocations: 33.16 kB / 434.1 MB, free: 9.816 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.561e-05/0.3373, allocations: 340.3 kB / 434.4 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.653e-05/0.3374, allocations: 31.44 kB / 434.5 MB, free: 9.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.3375, allocations: 82.42 kB / 434.5 MB, free: 9.445 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/0.3377, allocations: 98.03 kB / 434.6 MB, free: 9.406 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.3377, allocations: 3.547 kB / 434.6 MB, free: 9.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002465/0.3379, allocations: 143 kB / 434.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.3379, allocations: 7.094 kB / 434.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.3379, allocations: 3.969 kB / 434.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.3379, allocations: 3.156 kB / 434.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.239e-05/0.338, allocations: 20.59 kB / 434.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.338, allocations: 3.188 kB / 434.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.3381, allocations: 11.67 kB / 434.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.3382, allocations: 7.625 kB / 434.8 MB, free: 9.363 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: 13 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition2,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,$whenCondition1,booleanExpression.y,pulse.pulseStart,$PRE.pulse.pulseStart,pulse.y,step.y,sample.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 9.932e-05/0.3383, allocations: 154.1 kB / 435 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.246e-05/0.3383, allocations: 23.52 kB / 435 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.734e-05/0.3383, allocations: 24.27 kB / 435 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3383, allocations: 0 / 435 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.3383, allocations: 1.125 kB / 435 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3383, allocations: 1.281 kB / 435 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.3385, allocations: 255.2 kB / 435.3 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3385, allocations: 4.5 kB / 435.3 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.662e-05/0.3385, allocations: 4.562 kB / 435.3 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.3385, allocations: 5.844 kB / 435.3 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.3385, allocations: 5.281 kB / 435.3 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.3386, allocations: 1.344 kB / 435.3 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.3386, allocations: 8.156 kB / 435.3 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002568/0.3388, allocations: 189.5 kB / 435.5 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.681e-05/0.3388, allocations: 93.92 kB / 435.6 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.223e-05/0.3389, allocations: 6.047 kB / 435.6 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.82e-05/0.339, allocations: 12.53 kB / 435.6 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.05e-05/0.339, allocations: 15.77 kB / 435.6 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.3391, allocations: 4.594 kB / 435.6 MB, free: 8.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001782/0.3392, allocations: 217.6 kB / 435.8 MB, free: 8.742 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3392, allocations: 0 / 435.8 MB, free: 8.742 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002603/0.3395, allocations: 42.91 kB / 435.9 MB, free: 8.734 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,$whenCondition1,step.y,pulse.y,pulse.pulseStart,booleanExpression.y,sample.y) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001762/0.3413, allocations: 1.019 MB / 436.9 MB, free: 8.059 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000261/0.3415, allocations: 94.81 kB / 437 MB, free: 8.055 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3415, allocations: 0 / 437 MB, free: 8.055 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.3416, allocations: 47.78 kB / 437 MB, free: 8.055 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003571/0.342, allocations: 52.03 kB / 437.1 MB, free: 8.051 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002143/0.3441, allocations: 2.197 MB / 439.3 MB, free: 6.578 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001512/0.3443, allocations: 0.7305 MB / 440 MB, free: 5.879 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.784e-05/0.3444, allocations: 31.44 kB / 440.1 MB, free: 5.871 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.807e-05/0.3445, allocations: 66.88 kB / 440.1 MB, free: 5.824 MB / 350.1 MB Notification: Performance of SimCode: time 7.32e-07/0.3445, allocations: 0 / 440.1 MB, free: 5.824 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03141/0.3759, allocations: 5.233 MB / 445.4 MB, free: 4.984 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.999/8.374, allocations: 8.859 kB / 445.4 MB, free: 4.98 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00199283 Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_ShowLogicalSources.fmu > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.973998606670648] Failed to read output from testmodel.py, exit status != 0: ['time', 'table.y'] 8.500988585874438 8.524051716 8.399581304 Calling exit ...