Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 108.6 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 191.7 kB / 24.5 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 225.7 MB / 253.3 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.ShowLogicalSources,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_ShowLogicalSources",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.ShowLogicalSources,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_ShowLogicalSources",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 48.02 kB / 371.2 MB, free: 9.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2226, allocations: 52.19 MB / 423.4 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.003284/0.2259, allocations: 1.859 MB / 425.3 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001676/0.2276, allocations: 1.056 MB / 426.3 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.826e-05/0.2277, allocations: 8 kB / 426.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005879/0.2283, allocations: 171.4 kB / 426.5 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002963/0.2286, allocations: 123.5 kB / 426.6 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000439/0.229, allocations: 178.2 kB / 426.8 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002636/0.2293, allocations: 207.4 kB / 427 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.361e-05/0.2294, allocations: 13.69 kB / 427 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.2295, allocations: 95.61 kB / 427.1 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.2296, allocations: 91.66 kB / 427.2 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.27e-05/0.2297, allocations: 8 kB / 427.2 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001403/0.2298, allocations: 59.89 kB / 427.3 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.09e-05/0.2299, allocations: 47.84 kB / 427.3 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.971e-05/0.23, allocations: 79.53 kB / 427.4 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003155/0.2303, allocations: 219.9 kB / 427.6 MB, free: 10.56 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.2303, allocations: 8 kB / 427.6 MB, free: 10.55 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2303, allocations: 0 / 427.6 MB, free: 10.55 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.458e-06/0.2303, allocations: 0 / 427.6 MB, free: 10.55 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0008195/0.2311, allocations: 458.7 kB / 428 MB, free: 10.07 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.2311, allocations: 12.03 kB / 428.1 MB, free: 10.06 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.067e-05/0.2311, allocations: 192 / 428.1 MB, free: 10.06 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.467e-05/0.2312, allocations: 42.73 kB / 428.1 MB, free: 10.01 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.427e-05/0.2312, allocations: 28.73 kB / 428.1 MB, free: 9.98 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.2315, allocations: 204.5 kB / 428.3 MB, free: 9.754 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.2316, allocations: 8 kB / 428.3 MB, free: 9.746 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.2316, allocations: 4 kB / 428.3 MB, free: 9.742 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002404/0.2318, allocations: 113.9 kB / 428.5 MB, free: 9.609 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.2318, allocations: 7.938 kB / 428.5 MB, free: 9.602 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.2318, allocations: 0 / 428.5 MB, free: 9.602 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.2319, allocations: 4 kB / 428.5 MB, free: 9.598 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.232, allocations: 43.97 kB / 428.5 MB, free: 9.555 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006534/0.2326, allocations: 0.5822 MB / 429.1 MB, free: 8.918 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002587/0.2329, allocations: 111.9 kB / 429.2 MB, free: 8.781 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.233, allocations: 46.55 kB / 429.2 MB, free: 8.727 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.93e-05/0.233, allocations: 15.92 kB / 429.3 MB, free: 8.711 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002261/0.2333, allocations: 113.9 kB / 429.4 MB, free: 8.578 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.202e-06/0.2333, allocations: 0 / 429.4 MB, free: 8.578 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004282/0.2337, allocations: 181.4 kB / 429.5 MB, free: 8.395 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.766e-05/0.2338, allocations: 136.5 kB / 429.7 MB, free: 8.23 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003079/0.2341, allocations: 288.9 kB / 430 MB, free: 7.941 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/0.2341, allocations: 29.7 kB / 430 MB, free: 7.906 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.2342, allocations: 128.3 kB / 430.1 MB, free: 7.773 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.175e-05/0.2342, allocations: 23.84 kB / 430.1 MB, free: 7.75 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.644e-05/0.2343, allocations: 29.72 kB / 430.2 MB, free: 7.715 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.2345, allocations: 334.8 kB / 430.5 MB, free: 7.379 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.742e-05/0.2346, allocations: 36.02 kB / 430.5 MB, free: 7.344 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.2347, allocations: 81.92 kB / 430.6 MB, free: 7.242 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002404/0.2349, allocations: 104.7 kB / 430.7 MB, free: 7.125 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.2349, allocations: 0 / 430.7 MB, free: 7.125 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002711/0.2352, allocations: 149.3 kB / 430.9 MB, free: 6.973 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.2352, allocations: 8 kB / 430.9 MB, free: 6.965 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.2352, allocations: 0 / 430.9 MB, free: 6.965 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.2352, allocations: 7.938 kB / 430.9 MB, free: 6.957 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.022e-05/0.2353, allocations: 15.94 kB / 430.9 MB, free: 6.941 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.2353, allocations: 4.094 kB / 430.9 MB, free: 6.938 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.2354, allocations: 15.94 kB / 430.9 MB, free: 6.922 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.2354, allocations: 8 kB / 430.9 MB, free: 6.914 MB / 334.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 0.0001397/0.2356, allocations: 142.7 kB / 431.1 MB, free: 6.766 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.63e-05/0.2356, allocations: 23.84 kB / 431.1 MB, free: 6.742 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000223/0.2358, allocations: 111.3 kB / 431.2 MB, free: 6.625 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.2358, allocations: 0 / 431.2 MB, free: 6.625 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.2358, allocations: 8 kB / 431.2 MB, free: 6.617 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.2359, allocations: 3.984 kB / 431.2 MB, free: 6.613 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/0.2361, allocations: 208.7 kB / 431.4 MB, free: 6.367 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2361, allocations: 4.188 kB / 431.4 MB, free: 6.363 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.878e-05/0.2361, allocations: 8 kB / 431.4 MB, free: 6.355 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.2361, allocations: 3.984 kB / 431.4 MB, free: 6.352 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.2361, allocations: 11.94 kB / 431.4 MB, free: 6.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2361, allocations: 0 / 431.4 MB, free: 6.34 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.2361, allocations: 3.938 kB / 431.4 MB, free: 6.336 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003086/0.2364, allocations: 178.6 kB / 431.6 MB, free: 6.137 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.219e-05/0.2365, allocations: 15.91 kB / 431.6 MB, free: 6.121 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.884e-05/0.2365, allocations: 15.92 kB / 431.6 MB, free: 6.105 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.371e-05/0.2366, allocations: 7.984 kB / 431.6 MB, free: 6.098 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.396e-05/0.2367, allocations: 15.98 kB / 431.7 MB, free: 6.082 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.2367, allocations: 8 kB / 431.7 MB, free: 6.074 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002125/0.2369, allocations: 208.5 kB / 431.9 MB, free: 5.871 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2369, allocations: 0 / 431.9 MB, free: 5.871 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002648/0.2372, allocations: 47.88 kB / 431.9 MB, free: 5.824 MB / 334.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.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * 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.001916/0.2391, allocations: 1.024 MB / 432.9 MB, free: 4.93 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002654/0.2393, allocations: 91.83 kB / 433 MB, free: 4.84 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2393, allocations: 0 / 433 MB, free: 4.84 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.2395, allocations: 47.92 kB / 433.1 MB, free: 4.793 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003525/0.2398, allocations: 55.02 kB / 433.1 MB, free: 4.746 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002562/0.2424, allocations: 2.16 MB / 435.3 MB, free: 2.469 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/0.2427, allocations: 0.7435 MB / 436 MB, free: 1.699 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.664e-05/0.2428, allocations: 21.97 kB / 436.1 MB, free: 1.68 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.497e-05/0.2429, allocations: 59.41 kB / 436.1 MB, free: 1.625 MB / 334.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2429, allocations: 0 / 436.1 MB, free: 1.625 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02631/0.2692, allocations: 5.342 MB / 441.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.16, allocations: 19.16 kB / 441.5 MB, free: 12.35 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_ShowLogicalSources_fmu --startTime=0 --stopTime=10 --stepSize=0.00199283 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_ShowLogicalSources.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.421652416000143] Failed to read output from testmodel.py, exit status != 0: ['time', 'table.y'] 11.364103244966827 11.378769546000001 11.1455925 Calling exit ...