Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.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.001721/0.001721, allocations: 108.6 kB / 21.22 MB, free: 0.7266 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.002134/0.002134, allocations: 187.5 kB / 24.51 MB, free: 4.078 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.333/1.333, allocations: 225.6 MB / 253.3 MB, free: 13.04 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.Clocked.Examples.Elementary.BooleanSignals.Hold,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 48 kB / 371.2 MB, free: 9.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.232, allocations: 52.19 MB / 423.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003269/0.2353, allocations: 1.927 MB / 425.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00171/0.237, allocations: 1.091 MB / 426.4 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.391e-05/0.2371, allocations: 7.938 kB / 426.4 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005642/0.2376, allocations: 161.6 kB / 426.6 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002845/0.2379, allocations: 119.6 kB / 426.7 MB, free: 11.42 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005042/0.2384, allocations: 202.2 kB / 426.9 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002467/0.2387, allocations: 187.4 kB / 427.1 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.749e-05/0.2388, allocations: 25.73 kB / 427.1 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.2389, allocations: 83.62 kB / 427.2 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.239, allocations: 79.67 kB / 427.3 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.318e-05/0.239, allocations: 11.94 kB / 427.3 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001351/0.2391, allocations: 67.89 kB / 427.4 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.557e-05/0.2392, allocations: 39.84 kB / 427.4 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.768e-05/0.2393, allocations: 71.55 kB / 427.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002912/0.2396, allocations: 211.9 kB / 427.7 MB, free: 10.46 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.2396, allocations: 0 / 427.7 MB, free: 10.46 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.469e-06/0.2396, allocations: 4 kB / 427.7 MB, free: 10.46 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.2396, allocations: 4 kB / 427.7 MB, free: 10.46 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006595/0.2403, allocations: 450.7 kB / 428.1 MB, free: 9.98 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.2403, allocations: 12.03 kB / 428.1 MB, free: 9.969 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.023e-05/0.2403, allocations: 192 / 428.1 MB, free: 9.969 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.579e-05/0.2403, allocations: 38.75 kB / 428.2 MB, free: 9.922 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.076e-05/0.2404, allocations: 24.8 kB / 428.2 MB, free: 9.898 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000318/0.2407, allocations: 221.1 kB / 428.4 MB, free: 9.656 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.2407, allocations: 4.125 kB / 428.4 MB, free: 9.652 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.2407, allocations: 12 kB / 428.4 MB, free: 9.641 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003201/0.2411, allocations: 167.5 kB / 428.6 MB, free: 9.449 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.2411, allocations: 4 kB / 428.6 MB, free: 9.445 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.2411, allocations: 4 kB / 428.6 MB, free: 9.441 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.2411, allocations: 3.984 kB / 428.6 MB, free: 9.438 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.2412, allocations: 35.92 kB / 428.6 MB, free: 9.402 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005032/0.2417, allocations: 425.6 kB / 429.1 MB, free: 8.934 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002438/0.2419, allocations: 126.5 kB / 429.2 MB, free: 8.773 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.458e-05/0.242, allocations: 55.42 kB / 429.2 MB, free: 8.707 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.956e-05/0.2421, allocations: 11.92 kB / 429.2 MB, free: 8.695 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001655/0.2422, allocations: 85.11 kB / 429.3 MB, free: 8.594 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.2422, allocations: 4 kB / 429.3 MB, free: 8.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003599/0.2426, allocations: 161.3 kB / 429.5 MB, free: 8.426 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.253e-05/0.2427, allocations: 162.2 kB / 429.6 MB, free: 8.23 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000271/0.2429, allocations: 268.8 kB / 429.9 MB, free: 7.961 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.243, allocations: 29.7 kB / 429.9 MB, free: 7.926 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.889e-05/0.2431, allocations: 128.8 kB / 430.1 MB, free: 7.793 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.65e-05/0.2431, allocations: 23.83 kB / 430.1 MB, free: 7.77 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.284e-05/0.2431, allocations: 29.72 kB / 430.1 MB, free: 7.734 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.2433, allocations: 330.8 kB / 430.4 MB, free: 7.402 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.418e-05/0.2433, allocations: 23.98 kB / 430.5 MB, free: 7.379 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/0.2434, allocations: 78.86 kB / 430.5 MB, free: 7.277 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.2436, allocations: 85.08 kB / 430.6 MB, free: 7.176 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2436, allocations: 0 / 430.6 MB, free: 7.176 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002251/0.2438, allocations: 133.4 kB / 430.8 MB, free: 7.039 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.2438, allocations: 4 kB / 430.8 MB, free: 7.035 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.2438, allocations: 0 / 430.8 MB, free: 7.035 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.2438, allocations: 4 kB / 430.8 MB, free: 7.031 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.008e-05/0.2439, allocations: 23.92 kB / 430.8 MB, free: 7.008 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.2439, allocations: 3.938 kB / 430.8 MB, free: 7.004 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.665e-05/0.244, allocations: 4 kB / 430.8 MB, free: 7 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.244, allocations: 7.938 kB / 430.8 MB, free: 6.992 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,shiftSample1.y,hold1.y,hold1.u,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.000121/0.2441, allocations: 150.2 kB / 430.9 MB, free: 6.836 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.381e-05/0.2442, allocations: 69.55 kB / 431 MB, free: 6.762 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002194/0.2444, allocations: 115.3 kB / 431.1 MB, free: 6.641 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.2444, allocations: 4 kB / 431.1 MB, free: 6.637 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.2444, allocations: 3.938 kB / 431.1 MB, free: 6.633 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.2444, allocations: 0 / 431.1 MB, free: 6.633 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002012/0.2446, allocations: 200.6 kB / 431.3 MB, free: 6.395 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2446, allocations: 4.062 kB / 431.3 MB, free: 6.391 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.469e-05/0.2447, allocations: 4 kB / 431.3 MB, free: 6.387 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2447, allocations: 4 kB / 431.3 MB, free: 6.383 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.2447, allocations: 4 kB / 431.3 MB, free: 6.379 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.2447, allocations: 4 kB / 431.3 MB, free: 6.375 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.2447, allocations: 7.875 kB / 431.4 MB, free: 6.367 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002537/0.2449, allocations: 167.5 kB / 431.5 MB, free: 6.176 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.337e-05/0.245, allocations: 31.89 kB / 431.6 MB, free: 6.145 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.873e-05/0.245, allocations: 7.984 kB / 431.6 MB, free: 6.137 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.017e-05/0.2451, allocations: 7.938 kB / 431.6 MB, free: 6.129 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.92e-05/0.2451, allocations: 11.92 kB / 431.6 MB, free: 6.117 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.2452, allocations: 4 kB / 431.6 MB, free: 6.113 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001861/0.2454, allocations: 196.5 kB / 431.8 MB, free: 5.922 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2454, allocations: 0 / 431.8 MB, free: 5.922 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002588/0.2456, allocations: 39.89 kB / 431.8 MB, free: 5.883 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,hold1.y,hold1.u,shiftSample1.y,sample1.y,shiftSample1.u) * 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 (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001857/0.2475, allocations: 1.023 MB / 432.8 MB, free: 4.988 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002064/0.2477, allocations: 71.84 kB / 432.9 MB, free: 4.918 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.2477, allocations: 4 kB / 432.9 MB, free: 4.914 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.085e-05/0.2477, allocations: 23.98 kB / 432.9 MB, free: 4.891 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004031/0.2482, allocations: 76.22 kB / 433 MB, free: 4.816 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00226/0.2504, allocations: 1.992 MB / 435 MB, free: 2.688 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/0.2508, allocations: 0.7398 MB / 435.7 MB, free: 1.922 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.337e-05/0.2508, allocations: 25.72 kB / 435.8 MB, free: 1.898 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.782e-05/0.2509, allocations: 51.42 kB / 435.8 MB, free: 1.848 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2509, allocations: 0 / 435.8 MB, free: 1.848 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02449/0.2754, allocations: 4.965 MB / 440.8 MB, free: 12.98 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/10.89, allocations: 8 kB / 440.8 MB, free: 12.97 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold_fmu --startTime=0 --stopTime=0.2 --stepSize=3.98963e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.221918790019117] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y', 'hold1.y'] 11.096118254994508 11.110367793 10.867892663 Calling exit ...