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.001313/0.001313, allocations: 105.1 kB / 21.22 MB, free: 0.5117 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.001424/0.001424, allocations: 217.3 kB / 24.54 MB, free: 3.898 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.498/1.498, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.00202/0.00202, allocations: 68.75 kB / 378.5 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.267, allocations: 53.38 MB / 431.9 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.LogicalNetwork1): time 0.003718/0.2707, allocations: 2.039 MB / 434 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00263/0.2733, allocations: 1.31 MB / 435.3 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001764/0.2735, allocations: 3.938 kB / 435.3 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.2745, allocations: 319.1 kB / 435.6 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007226/0.2752, allocations: 259.1 kB / 435.8 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007279/0.276, allocations: 233.9 kB / 436.1 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005222/0.2765, allocations: 359.1 kB / 436.4 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001721/0.2767, allocations: 36.92 kB / 436.4 MB, free: 2.305 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002455/0.2769, allocations: 155.4 kB / 436.6 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002425/0.2772, allocations: 167.3 kB / 436.8 MB, free: 1.988 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.011e-05/0.2772, allocations: 23.94 kB / 436.8 MB, free: 1.965 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002344/0.2774, allocations: 87.92 kB / 436.9 MB, free: 1.879 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.2776, allocations: 87.69 kB / 437 MB, free: 1.793 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001568/0.2777, allocations: 131.2 kB / 437.1 MB, free: 1.664 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005385/0.2783, allocations: 367.2 kB / 437.4 MB, free: 1.312 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2783, allocations: 0 / 437.4 MB, free: 1.312 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.2783, allocations: 0 / 437.4 MB, free: 1.312 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.2783, allocations: 3.938 kB / 437.5 MB, free: 1.309 MB / 334.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.001144/0.2794, allocations: 0.6089 MB / 438.1 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.2795, allocations: 8.031 kB / 438.1 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.84e-05/0.2795, allocations: 50.67 kB / 438.1 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.032e-05/0.2796, allocations: 36.7 kB / 438.2 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004844/0.2801, allocations: 284.8 kB / 438.4 MB, free: 256 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.2801, allocations: 8.375 kB / 438.4 MB, free: 248 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.921e-05/0.2801, allocations: 11.94 kB / 438.5 MB, free: 236 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003165/0.2805, allocations: 156 kB / 438.6 MB, free: 64 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.2805, allocations: 0 / 438.6 MB, free: 64 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.2805, allocations: 4 kB / 438.6 MB, free: 60 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.2805, allocations: 4 kB / 438.6 MB, free: 56 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002056/0.2807, allocations: 68.03 kB / 438.7 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00075/0.2814, allocations: 467.4 kB / 439.1 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003262/0.2818, allocations: 126.7 kB / 439.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.2819, allocations: 44.84 kB / 439.3 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.2819, allocations: 4 kB / 439.3 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002543/0.2822, allocations: 118.1 kB / 439.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.763e-06/0.2822, allocations: 0 / 439.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005342/0.2827, allocations: 221.3 kB / 439.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.529e-05/0.2828, allocations: 106.8 kB / 439.7 MB, free: 14.83 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005866/0.2834, allocations: 457.6 kB / 440.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.2834, allocations: 29.7 kB / 440.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/0.2836, allocations: 176 kB / 440.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.001e-05/0.2836, allocations: 39.69 kB / 440.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.42e-05/0.2837, allocations: 45.7 kB / 440.5 MB, free: 14.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001895/0.2839, allocations: 346.8 kB / 440.8 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.284, allocations: 39.98 kB / 440.8 MB, free: 13.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001725/0.2842, allocations: 97.98 kB / 440.9 MB, free: 13.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002973/0.2845, allocations: 110.5 kB / 441.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.2845, allocations: 0 / 441.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003687/0.2848, allocations: 184.5 kB / 441.2 MB, free: 13.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.2849, allocations: 7.938 kB / 441.2 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.2849, allocations: 4 kB / 441.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/0.2849, allocations: 0 / 441.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.285, allocations: 31.92 kB / 441.3 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.285, allocations: 4 kB / 441.3 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.2851, allocations: 19.89 kB / 441.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.2851, allocations: 4 kB / 441.3 MB, free: 13.2 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.0001875/0.2853, allocations: 171.6 kB / 441.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.696e-05/0.2854, allocations: 39.69 kB / 441.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004042/0.2858, allocations: 196.4 kB / 441.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.2858, allocations: 4 kB / 441.7 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.2858, allocations: 0 / 441.7 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2858, allocations: 0 / 441.7 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003163/0.2861, allocations: 280.5 kB / 442 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.2861, allocations: 0 / 442 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.184e-05/0.2862, allocations: 11.98 kB / 442 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.2862, allocations: 3.938 kB / 442 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.2862, allocations: 0 / 442 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.2862, allocations: 0 / 442 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2862, allocations: 4 kB / 442 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003602/0.2865, allocations: 208.8 kB / 442.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.984e-05/0.2866, allocations: 39.69 kB / 442.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.923e-05/0.2866, allocations: 48 / 442.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.109e-05/0.2867, allocations: 15.98 kB / 442.3 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.236e-05/0.2868, allocations: 15.97 kB / 442.3 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.2868, allocations: 4 kB / 442.3 MB, free: 12.15 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003949/0.2872, allocations: 331.1 kB / 442.6 MB, free: 11.83 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2872, allocations: 4 kB / 442.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003058/0.2875, allocations: 55.92 kB / 442.7 MB, free: 11.77 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,table2.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEvent,table2.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEventScaled) * 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.002199/0.2897, allocations: 1.071 MB / 443.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003578/0.2901, allocations: 111.9 kB / 443.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2901, allocations: 0 / 443.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.2902, allocations: 51.92 kB / 443.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004486/0.2907, allocations: 80.84 kB / 444 MB, free: 10.6 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004083/0.2948, allocations: 2.867 MB / 446.8 MB, free: 7.633 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004547/0.2952, allocations: 0.7791 MB / 447.6 MB, free: 6.828 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001554/0.2954, allocations: 46.25 kB / 447.7 MB, free: 6.785 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001616/0.2955, allocations: 91.41 kB / 447.7 MB, free: 6.695 MB / 350.1 MB Notification: Performance of SimCode: time 8.22e-07/0.2955, allocations: 0 / 447.7 MB, free: 6.695 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03549/0.331, allocations: 7.509 MB / 455.3 MB, free: 15.24 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.762/9.093, allocations: 0 / 455.3 MB, free: 15.24 MB / 366.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.LogicalNetwork1_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_LogicalNetwork1_fmu --startTime=0 --stopTime=10 --stepSize=0.00199601 --timeout=50 --tolerance=1e-06 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.490005519241095] Failed to read output from testmodel.py, exit status != 0: ['time', 'Pre1.u', 'table1.y', 'table2.y'] 9.233973235823214 9.253602858 8.97128767 Calling exit ...