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.001408/0.001408, allocations: 105.8 kB / 19.74 MB, free: 2.566 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.001602/0.001602, allocations: 218.4 kB / 22.92 MB, free: 5.535 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.294/1.294, allocations: 230.5 MB / 256.4 MB, free: 8.43 MB / 206.1 MB " [Timeout remaining time 179] 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.001664/0.001664, allocations: 67.84 kB / 376.1 MB, free: 4.109 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2186, allocations: 53.32 MB / 429.4 MB, free: 7.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.LogicalNetwork1): time 0.002964/0.2216, allocations: 2.055 MB / 431.4 MB, free: 5.371 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00191/0.2235, allocations: 1.298 MB / 432.7 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.019e-05/0.2236, allocations: 4 kB / 432.8 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007051/0.2243, allocations: 307.1 kB / 433.1 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004922/0.2248, allocations: 259.1 kB / 433.3 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004586/0.2252, allocations: 223.2 kB / 433.5 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003685/0.2256, allocations: 351.1 kB / 433.9 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.2257, allocations: 44.72 kB / 433.9 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001761/0.2259, allocations: 151.4 kB / 434.1 MB, free: 2.754 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001887/0.2261, allocations: 159.3 kB / 434.2 MB, free: 2.598 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.815e-05/0.2261, allocations: 20 kB / 434.2 MB, free: 2.578 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001602/0.2263, allocations: 91.81 kB / 434.3 MB, free: 2.488 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.2264, allocations: 87.67 kB / 434.4 MB, free: 2.402 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001263/0.2265, allocations: 135.2 kB / 434.5 MB, free: 2.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003869/0.2269, allocations: 362.8 kB / 434.9 MB, free: 1.922 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.2269, allocations: 0 / 434.9 MB, free: 1.922 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.2269, allocations: 0 / 434.9 MB, free: 1.922 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.159e-06/0.2269, allocations: 0 / 434.9 MB, free: 1.922 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.0008392/0.2277, allocations: 0.6841 MB / 435.6 MB, free: 1.176 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.826e-05/0.2278, allocations: 8.031 kB / 435.6 MB, free: 1.168 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.641e-05/0.2278, allocations: 46.73 kB / 435.6 MB, free: 1.113 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.947e-05/0.2279, allocations: 36.7 kB / 435.7 MB, free: 1.078 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003851/0.2283, allocations: 350.6 kB / 436 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.2283, allocations: 8.375 kB / 436 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.709e-05/0.2283, allocations: 11.94 kB / 436 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002604/0.2286, allocations: 148 kB / 436.2 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.2286, allocations: 0 / 436.2 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.2286, allocations: 4 kB / 436.2 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.2286, allocations: 7.938 kB / 436.2 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001529/0.2287, allocations: 71.95 kB / 436.3 MB, free: 448 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006179/0.2294, allocations: 0.4887 MB / 436.7 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002937/0.2297, allocations: 126.7 kB / 436.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.2298, allocations: 40.84 kB / 436.9 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.2298, allocations: 0 / 436.9 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002075/0.23, allocations: 122.5 kB / 437 MB, free: 15.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.323e-06/0.23, allocations: 3.938 kB / 437 MB, free: 15.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0004392/0.2304, allocations: 213.4 kB / 437.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.596e-05/0.2305, allocations: 114.8 kB / 437.4 MB, free: 15.24 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004798/0.231, allocations: 453.6 kB / 437.8 MB, free: 14.78 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.231, allocations: 33.7 kB / 437.8 MB, free: 14.74 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.2311, allocations: 172 kB / 438 MB, free: 14.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.133e-05/0.2312, allocations: 39.69 kB / 438 MB, free: 14.53 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.411e-05/0.2312, allocations: 45.69 kB / 438.1 MB, free: 14.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.2314, allocations: 342.8 kB / 438.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.2315, allocations: 47.97 kB / 438.5 MB, free: 14.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/0.2316, allocations: 101.9 kB / 438.6 MB, free: 13.97 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001961/0.2318, allocations: 105.5 kB / 438.7 MB, free: 13.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2318, allocations: 4 kB / 438.7 MB, free: 13.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003083/0.2321, allocations: 177.3 kB / 438.8 MB, free: 13.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.2322, allocations: 7.938 kB / 438.8 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.2322, allocations: 4 kB / 438.9 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.2322, allocations: 7.922 kB / 438.9 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.2323, allocations: 27.94 kB / 438.9 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.2323, allocations: 3.984 kB / 438.9 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.626e-05/0.2324, allocations: 19.94 kB / 438.9 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.2324, allocations: 8.062 kB / 438.9 MB, free: 13.6 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.000158/0.2326, allocations: 179.4 kB / 439.1 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.018e-05/0.2326, allocations: 31.75 kB / 439.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003452/0.233, allocations: 180.6 kB / 439.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.233, allocations: 0 / 439.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.233, allocations: 0 / 439.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.233, allocations: 8.016 kB / 439.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002659/0.2332, allocations: 313.3 kB / 439.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2332, allocations: 4 kB / 439.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.017e-05/0.2333, allocations: 15.94 kB / 439.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.748e-06/0.2333, allocations: 7.922 kB / 439.6 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.2333, allocations: 0 / 439.6 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.2333, allocations: 0 / 439.6 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.2333, allocations: 4 kB / 439.6 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003205/0.2336, allocations: 196.9 kB / 439.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.006e-05/0.2337, allocations: 120.8 kB / 440 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.57e-05/0.2337, allocations: 3.984 kB / 440 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.386e-05/0.2338, allocations: 12 kB / 440 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.166e-05/0.2339, allocations: 11.98 kB / 440 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.2339, allocations: 7.984 kB / 440 MB, free: 12.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003403/0.2342, allocations: 331.1 kB / 440.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2342, allocations: 0 / 440.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002536/0.2345, allocations: 51.94 kB / 440.4 MB, free: 12.05 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.001888/0.2364, allocations: 1.072 MB / 441.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00027/0.2366, allocations: 115.8 kB / 441.6 MB, free: 11 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2366, allocations: 0 / 441.6 MB, free: 11 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.2367, allocations: 60.03 kB / 441.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003733/0.2371, allocations: 87.53 kB / 441.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003241/0.2404, allocations: 2.863 MB / 444.6 MB, free: 7.898 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.2407, allocations: 0.7753 MB / 445.3 MB, free: 7.098 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001037/0.2408, allocations: 46.25 kB / 445.4 MB, free: 7.055 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.241, allocations: 99.39 kB / 445.5 MB, free: 6.957 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.241, allocations: 0 / 445.5 MB, free: 6.957 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02897/0.2699, allocations: 7.382 MB / 452.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.177/7.447, allocations: 11.19 kB / 452.9 MB, free: 15.64 MB / 366.1 MB " [Timeout remaining time 652] (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 --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: 9.600201002001995]