Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.LogicalNetwork1.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.001678/0.001678, 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.001998/0.001998, 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.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.LogicalNetwork1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_LogicalNetwork1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.LogicalNetwork1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_LogicalNetwork1",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.002224/0.002224, allocations: 71.83 kB / 373.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1031, allocations: 53.33 MB / 427 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.LogicalNetwork1): time 0.003969/0.1071, allocations: 2.033 MB / 429 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002399/0.1095, allocations: 1.281 MB / 430.3 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002002/0.1097, allocations: 7.938 kB / 430.3 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008952/0.1106, allocations: 313.6 kB / 430.6 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006807/0.1113, allocations: 251.1 kB / 430.9 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006438/0.1119, allocations: 229.8 kB / 431.1 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004939/0.1124, allocations: 363 kB / 431.5 MB, free: 336 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001586/0.1126, allocations: 40.73 kB / 431.5 MB, free: 292 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002675/0.1128, allocations: 151.4 kB / 431.6 MB, free: 140 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1916/0.3044, allocations: 158.6 kB / 431.8 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.3045, allocations: 21.19 kB / 431.8 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003022/0.3048, allocations: 83.72 kB / 431.9 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001526/0.3049, allocations: 90.34 kB / 432 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001993/0.3051, allocations: 130.1 kB / 432.1 MB, free: 7.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006313/0.3058, allocations: 362.9 kB / 432.5 MB, free: 7.871 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.3058, allocations: 5.406 kB / 432.5 MB, free: 7.871 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3058, allocations: 0 / 432.5 MB, free: 7.871 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.381e-05/0.3058, allocations: 0 / 432.5 MB, free: 7.871 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001083/0.3069, allocations: 0.6852 MB / 433.2 MB, free: 7.309 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.3069, allocations: 9.281 kB / 433.2 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.312e-05/0.307, allocations: 40.02 kB / 433.2 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.176e-05/0.307, allocations: 41.95 kB / 433.2 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000376/0.3074, allocations: 337.2 kB / 433.6 MB, free: 7.008 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.3074, allocations: 11.91 kB / 433.6 MB, free: 7.008 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.584e-05/0.3075, allocations: 11.69 kB / 433.6 MB, free: 7.008 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000265/0.3077, allocations: 151.8 kB / 433.7 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.3077, allocations: 0.6875 kB / 433.7 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.3077, allocations: 9.109 kB / 433.8 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.3077, allocations: 3.781 kB / 433.8 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001613/0.3079, allocations: 68.38 kB / 433.8 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005767/0.3085, allocations: 496.4 kB / 434.3 MB, free: 6.668 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002807/0.3088, allocations: 130.5 kB / 434.4 MB, free: 6.645 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.746e-05/0.3089, allocations: 46.86 kB / 434.5 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.3089, allocations: 0 / 434.5 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001924/0.3091, allocations: 113 kB / 434.6 MB, free: 6.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.423e-06/0.3091, allocations: 3.844 kB / 434.6 MB, free: 6.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0004594/0.3095, allocations: 223 kB / 434.8 MB, free: 6.527 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.3096, allocations: 108.3 kB / 434.9 MB, free: 6.402 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004463/0.31, allocations: 452.9 kB / 435.4 MB, free: 6.285 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.31, allocations: 32.56 kB / 435.4 MB, free: 6.254 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.462e-05/0.3101, allocations: 171.6 kB / 435.6 MB, free: 6.164 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.248e-05/0.3102, allocations: 39.72 kB / 435.6 MB, free: 6.141 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.823e-05/0.3102, allocations: 47.83 kB / 435.7 MB, free: 6.125 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.484e-05/0.3103, allocations: 347 kB / 436 MB, free: 5.812 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.3104, allocations: 44.64 kB / 436 MB, free: 5.812 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.3105, allocations: 102.7 kB / 436.1 MB, free: 5.758 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/0.3107, allocations: 108.2 kB / 436.2 MB, free: 5.734 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3107, allocations: 0.875 kB / 436.2 MB, free: 5.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002964/0.311, allocations: 182.3 kB / 436.4 MB, free: 5.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.311, allocations: 5.594 kB / 436.4 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.311, allocations: 9.531 kB / 436.4 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.311, allocations: 1.438 kB / 436.4 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.3112, allocations: 28 kB / 436.5 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.3112, allocations: 0 / 436.5 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.3113, allocations: 13.11 kB / 436.5 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.3113, allocations: 14.38 kB / 436.5 MB, free: 5.672 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.table1.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.table2.combiTimeTable.nextTimeEvent,$whenCondition1,Pre1.y,Pre1.u,$PRE.Pre1.u,And1.y,Not1.y,table1.combiTimeTable.nextTimeEventScaled,$PRE.table1.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEvent,table1.y,table2.combiTimeTable.nextTimeEventScaled,$PRE.table2.combiTimeTable.nextTimeEventScaled,table2.combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001278/0.3114, allocations: 167 kB / 436.7 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.65e-05/0.3114, allocations: 31.41 kB / 436.7 MB, free: 5.543 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.395e-05/0.3115, allocations: 38.91 kB / 436.7 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.3115, allocations: 3 kB / 436.7 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3115, allocations: 0 / 436.7 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3115, allocations: 4.062 kB / 436.7 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002304/0.3118, allocations: 311.8 kB / 437 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.3118, allocations: 1.5 kB / 437 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.974e-05/0.3118, allocations: 15.27 kB / 437 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.3118, allocations: 5.219 kB / 437.1 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.3118, allocations: 6.203 kB / 437.1 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3118, allocations: 1.281 kB / 437.1 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3118, allocations: 0 / 437.1 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003213/0.3121, allocations: 210.2 kB / 437.3 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.742e-05/0.3122, allocations: 103.6 kB / 437.4 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.426e-05/0.3122, allocations: 12.22 kB / 437.4 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.873e-05/0.3123, allocations: 12.06 kB / 437.4 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.022e-05/0.3124, allocations: 13.95 kB / 437.4 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.3124, allocations: 9.266 kB / 437.4 MB, free: 5.125 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003264/0.3127, allocations: 335.7 kB / 437.7 MB, free: 5.039 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3127, allocations: 0 / 437.7 MB, free: 5.039 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003097/0.313, allocations: 57.17 kB / 437.8 MB, free: 5.031 MB / 350.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: 11 ($whenCondition2,$whenCondition1,table2.combiTimeTable.nextTimeEvent,table2.combiTimeTable.nextTimeEventScaled,table1.y,table1.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEventScaled,Not1.y,And1.y,Pre1.u,Pre1.y) * Number of discrete states: 5 (Pre1.u,table1.combiTimeTable.nextTimeEventScaled,table2.combiTimeTable.nextTimeEventScaled,table2.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001832/0.3149, allocations: 1.063 MB / 438.9 MB, free: 4.355 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003039/0.3152, allocations: 115.9 kB / 439 MB, free: 4.355 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3152, allocations: 8.469 kB / 439 MB, free: 4.352 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.3153, allocations: 51.42 kB / 439 MB, free: 4.348 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004308/0.3157, allocations: 72.55 kB / 439.1 MB, free: 4.348 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003093/0.3188, allocations: 2.865 MB / 442 MB, free: 2.957 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001946/0.319, allocations: 0.7747 MB / 442.7 MB, free: 2.254 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001428/0.3192, allocations: 51.55 kB / 442.8 MB, free: 2.238 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.3193, allocations: 96.3 kB / 442.9 MB, free: 2.176 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3193, allocations: 0 / 442.9 MB, free: 2.176 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03175/0.3511, allocations: 7.403 MB / 450.3 MB, free: 1.07 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.291/8.642, allocations: 7.188 kB / 450.3 MB, free: 1.066 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.LogicalNetwork1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.LogicalNetwork1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.LogicalNetwork1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.LogicalNetwork1.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.LogicalNetwork1_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00199601 Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_LogicalNetwork1.fmu > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.LogicalNetwork1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.258972858078778] Failed to read output from testmodel.py, exit status != 0: ['time', 'Pre1.u', 'table1.y', 'table2.y'] 8.784855083096772 8.813182064 8.501946382 Calling exit ...