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.001807/0.001807, allocations: 117.8 kB / 18.5 MB, free: 4.434 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.002123/0.002123, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.417/1.417, allocations: 230.5 MB / 254.7 MB, free: 15 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.001842/0.001842, allocations: 67.89 kB / 373.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1052, allocations: 53.31 MB / 426.9 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.003345/0.1085, allocations: 1.874 MB / 428.7 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001982/0.1105, allocations: 1.188 MB / 429.9 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.714e-05/0.1106, allocations: 0 / 429.9 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006144/0.1112, allocations: 171.5 kB / 430.1 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003903/0.1116, allocations: 167.3 kB / 430.3 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003526/0.1119, allocations: 138.9 kB / 430.4 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002736/0.1122, allocations: 223.4 kB / 430.6 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.745e-05/0.1123, allocations: 9.562 kB / 430.6 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/0.1124, allocations: 91.67 kB / 430.7 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.1126, allocations: 91.59 kB / 430.8 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.825e-05/0.1126, allocations: 12 kB / 430.8 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.1127, allocations: 63.91 kB / 430.9 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.372e-05/0.1128, allocations: 51.77 kB / 430.9 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.967e-05/0.1129, allocations: 79.47 kB / 431 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003307/0.1132, allocations: 235 kB / 431.2 MB, free: 476 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1132, allocations: 0 / 431.2 MB, free: 476 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1132, allocations: 0 / 431.2 MB, free: 476 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1132, allocations: 0 / 431.2 MB, free: 476 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.1779/0.2911, allocations: 0.5214 MB / 431.8 MB, free: 11.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.2911, allocations: 11 kB / 431.8 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.615e-05/0.2912, allocations: 40.27 kB / 431.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.194e-05/0.2912, allocations: 22.67 kB / 431.8 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003172/0.2915, allocations: 269 kB / 432.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.2916, allocations: 7.969 kB / 432.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.2916, allocations: 8.375 kB / 432.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002409/0.2918, allocations: 117.8 kB / 432.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.2918, allocations: 4.656 kB / 432.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.2919, allocations: 2.203 kB / 432.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.2919, allocations: 1.969 kB / 432.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.292, allocations: 52.3 kB / 432.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005474/0.2926, allocations: 0.608 MB / 432.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002256/0.2928, allocations: 118.6 kB / 433 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.323e-05/0.2929, allocations: 46.38 kB / 433 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.063e-05/0.2929, allocations: 5.375 kB / 433.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002065/0.2931, allocations: 120.1 kB / 433.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.613e-06/0.2931, allocations: 0 / 433.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004473/0.2936, allocations: 178.4 kB / 433.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/0.2936, allocations: 130.8 kB / 433.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003/0.2939, allocations: 293.9 kB / 433.8 MB, free: 10 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.2939, allocations: 31.47 kB / 433.8 MB, free: 9.973 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.57e-05/0.294, allocations: 125.1 kB / 433.9 MB, free: 9.887 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.349e-05/0.294, allocations: 36.75 kB / 433.9 MB, free: 9.871 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.588e-05/0.2941, allocations: 30.72 kB / 434 MB, free: 9.855 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.233e-05/0.2942, allocations: 340 kB / 434.3 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.192e-05/0.2942, allocations: 27.95 kB / 434.3 MB, free: 9.539 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.783e-05/0.2943, allocations: 87.58 kB / 434.4 MB, free: 9.484 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.2945, allocations: 101.6 kB / 434.5 MB, free: 9.445 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2945, allocations: 3.562 kB / 434.5 MB, free: 9.445 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002395/0.2947, allocations: 137.5 kB / 434.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.2947, allocations: 6.75 kB / 434.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.2948, allocations: 3.469 kB / 434.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.2948, allocations: 7.391 kB / 434.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.128e-05/0.2948, allocations: 14.52 kB / 434.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.2949, allocations: 1.594 kB / 434.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.955e-05/0.295, allocations: 20.5 kB / 434.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.295, allocations: 4.922 kB / 434.7 MB, free: 9.402 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.384e-05/0.2951, allocations: 154.9 kB / 434.9 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.124e-05/0.2951, allocations: 23.17 kB / 434.9 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.952e-05/0.2951, allocations: 23.38 kB / 434.9 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.2951, allocations: 6.031 kB / 434.9 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.2951, allocations: 1.5 kB / 434.9 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.2951, allocations: 2.031 kB / 434.9 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.2953, allocations: 249.9 kB / 435.2 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.2953, allocations: 2.188 kB / 435.2 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.559e-05/0.2953, allocations: 8.094 kB / 435.2 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.2953, allocations: 1.031 kB / 435.2 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.2953, allocations: 5.812 kB / 435.2 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.2953, allocations: 4.75 kB / 435.2 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2954, allocations: 0.9375 kB / 435.2 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002537/0.2956, allocations: 179.5 kB / 435.4 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.724e-05/0.2957, allocations: 101.4 kB / 435.5 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.403e-05/0.2957, allocations: 4.031 kB / 435.5 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.363e-05/0.2958, allocations: 20.69 kB / 435.5 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.979e-05/0.2958, allocations: 17.44 kB / 435.5 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.2959, allocations: 3.438 kB / 435.5 MB, free: 8.867 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000173/0.296, allocations: 219.3 kB / 435.7 MB, free: 8.789 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.296, allocations: 0 / 435.7 MB, free: 8.789 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002654/0.2963, allocations: 43.81 kB / 435.8 MB, free: 8.781 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.001748/0.298, allocations: 1.02 MB / 436.8 MB, free: 8.117 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002451/0.2983, allocations: 86.84 kB / 436.9 MB, free: 8.117 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.2983, allocations: 4.188 kB / 436.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.2984, allocations: 52.81 kB / 436.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/0.2987, allocations: 47.58 kB / 437 MB, free: 8.105 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002213/0.301, allocations: 2.188 MB / 439.2 MB, free: 6.648 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001668/0.3011, allocations: 0.7368 MB / 439.9 MB, free: 5.945 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.797e-05/0.3012, allocations: 24.72 kB / 439.9 MB, free: 5.945 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.216e-05/0.3013, allocations: 69.69 kB / 440 MB, free: 5.898 MB / 350.1 MB Notification: Performance of SimCode: time 4.3e-07/0.3013, allocations: 0 / 440 MB, free: 5.898 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02979/0.3311, allocations: 5.242 MB / 445.2 MB, free: 5.039 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.897/8.228, allocations: 9 kB / 445.2 MB, free: 5.031 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_ShowLogicalSources_fmu --startTime=0 --stopTime=10 --stepSize=0.00199283 --timeout=50 --tolerance=1e-06 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.58473649714142] Failed to read output from testmodel.py, exit status != 0: ['time', 'table.y'] 8.36529675964266 8.384215466 8.267012647 Calling exit ...