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.001235/0.001235, allocations: 101.5 kB / 21.21 MB, free: 0.5078 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.001261/0.001261, allocations: 191.6 kB / 24.49 MB, free: 3.711 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.353/1.353, allocations: 225.7 MB / 253.3 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] 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.001626/0.001626, allocations: 47.92 kB / 371.2 MB, free: 9.668 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.2341, allocations: 52.18 MB / 423.4 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003345/0.2374, allocations: 1.88 MB / 425.2 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001955/0.2394, allocations: 1.013 MB / 426.2 MB, free: 11.47 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001243/0.2395, allocations: 7.938 kB / 426.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007211/0.2402, allocations: 163.4 kB / 426.4 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00034/0.2405, allocations: 119.5 kB / 426.5 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005983/0.2411, allocations: 205.8 kB / 426.7 MB, free: 10.99 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002791/0.2414, allocations: 183.5 kB / 426.9 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.2416, allocations: 25.73 kB / 426.9 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.2417, allocations: 79.62 kB / 427 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001394/0.2419, allocations: 83.67 kB / 427.1 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.799e-05/0.2419, allocations: 11.94 kB / 427.1 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001553/0.242, allocations: 55.97 kB / 427.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.931e-05/0.2421, allocations: 47.83 kB / 427.2 MB, free: 10.51 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.942e-05/0.2422, allocations: 55.61 kB / 427.3 MB, free: 10.45 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003749/0.2426, allocations: 217.4 kB / 427.5 MB, free: 10.24 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.2426, allocations: 0 / 427.5 MB, free: 10.24 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2426, allocations: 0 / 427.5 MB, free: 10.24 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.832e-06/0.2426, allocations: 0 / 427.5 MB, free: 10.24 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.000839/0.2435, allocations: 454.7 kB / 427.9 MB, free: 9.762 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.2435, allocations: 12.03 kB / 427.9 MB, free: 9.75 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.844e-05/0.2435, allocations: 192 / 427.9 MB, free: 9.75 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.103e-05/0.2436, allocations: 42.73 kB / 428 MB, free: 9.699 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.48e-05/0.2436, allocations: 20.8 kB / 428 MB, free: 9.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003453/0.244, allocations: 213.2 kB / 428.2 MB, free: 9.445 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/0.244, allocations: 16.11 kB / 428.2 MB, free: 9.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.244, allocations: 4 kB / 428.2 MB, free: 9.426 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003925/0.2444, allocations: 197.1 kB / 428.4 MB, free: 9.199 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.2444, allocations: 3.938 kB / 428.4 MB, free: 9.195 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.2444, allocations: 4 kB / 428.4 MB, free: 9.191 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.2444, allocations: 7.984 kB / 428.4 MB, free: 9.184 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001126/0.2445, allocations: 35.98 kB / 428.5 MB, free: 9.148 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005956/0.2451, allocations: 405.7 kB / 428.9 MB, free: 8.699 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002851/0.2454, allocations: 138.5 kB / 429 MB, free: 8.527 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.2455, allocations: 55.36 kB / 429 MB, free: 8.461 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/0.2456, allocations: 4 kB / 429.1 MB, free: 8.457 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002091/0.2458, allocations: 109 kB / 429.2 MB, free: 8.332 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.383e-06/0.2458, allocations: 0 / 429.2 MB, free: 8.332 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004188/0.2462, allocations: 161.4 kB / 429.3 MB, free: 8.168 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/0.2463, allocations: 162.2 kB / 429.5 MB, free: 7.973 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003074/0.2466, allocations: 268.9 kB / 429.7 MB, free: 7.703 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.2466, allocations: 25.7 kB / 429.8 MB, free: 7.672 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.586e-05/0.2467, allocations: 120.4 kB / 429.9 MB, free: 7.547 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.556e-05/0.2468, allocations: 28.27 kB / 429.9 MB, free: 7.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.648e-05/0.2468, allocations: 33.72 kB / 429.9 MB, free: 7.48 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.247, allocations: 330.8 kB / 430.3 MB, free: 7.148 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.895e-05/0.2471, allocations: 27.98 kB / 430.3 MB, free: 7.121 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/0.2472, allocations: 128.3 kB / 430.4 MB, free: 6.961 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.2474, allocations: 97.02 kB / 430.5 MB, free: 6.848 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2474, allocations: 0 / 430.5 MB, free: 6.848 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000247/0.2476, allocations: 137.4 kB / 430.6 MB, free: 6.707 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.2476, allocations: 6.5 kB / 430.7 MB, free: 6.703 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.2476, allocations: 0 / 430.7 MB, free: 6.703 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.2477, allocations: 4 kB / 430.7 MB, free: 6.699 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.65e-05/0.2477, allocations: 16 kB / 430.7 MB, free: 6.684 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.2478, allocations: 3.938 kB / 430.7 MB, free: 6.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.241e-05/0.2478, allocations: 7.984 kB / 430.7 MB, free: 6.672 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.2478, allocations: 4.156 kB / 430.7 MB, free: 6.668 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.000143/0.248, allocations: 149.8 kB / 430.8 MB, free: 6.512 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.413e-05/0.2481, allocations: 69.5 kB / 430.9 MB, free: 6.438 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002493/0.2483, allocations: 115.4 kB / 431 MB, free: 6.316 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.2483, allocations: 4 kB / 431 MB, free: 6.312 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.2483, allocations: 3.938 kB / 431 MB, free: 6.309 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.2483, allocations: 0 / 431 MB, free: 6.309 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002195/0.2486, allocations: 192.9 kB / 431.2 MB, free: 6.078 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.2486, allocations: 8 kB / 431.2 MB, free: 6.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.602e-05/0.2486, allocations: 12.05 kB / 431.2 MB, free: 6.059 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.2486, allocations: 4 kB / 431.2 MB, free: 6.055 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.2486, allocations: 7.875 kB / 431.2 MB, free: 6.047 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.2486, allocations: 7.938 kB / 431.2 MB, free: 6.039 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.2486, allocations: 3.938 kB / 431.3 MB, free: 6.035 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002818/0.2489, allocations: 179.5 kB / 431.4 MB, free: 5.832 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.658e-05/0.249, allocations: 27.84 kB / 431.5 MB, free: 5.805 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.364e-05/0.249, allocations: 8 kB / 431.5 MB, free: 5.797 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.495e-05/0.2491, allocations: 7.984 kB / 431.5 MB, free: 5.789 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.489e-05/0.2491, allocations: 15.86 kB / 431.5 MB, free: 5.773 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.2491, allocations: 12 kB / 431.5 MB, free: 5.762 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000212/0.2493, allocations: 196.5 kB / 431.7 MB, free: 5.57 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2493, allocations: 0 / 431.7 MB, free: 5.57 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002579/0.2496, allocations: 31.94 kB / 431.7 MB, free: 5.539 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 (12): * Single equations (assignments): 10 * 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.002084/0.2517, allocations: 1.049 MB / 432.8 MB, free: 4.637 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000228/0.2519, allocations: 88.02 kB / 432.9 MB, free: 4.551 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.2519, allocations: 0 / 432.9 MB, free: 4.551 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.397e-05/0.252, allocations: 35.91 kB / 432.9 MB, free: 4.516 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003995/0.2524, allocations: 58.25 kB / 432.9 MB, free: 4.461 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002317/0.2547, allocations: 2.004 MB / 435 MB, free: 2.32 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001146/0.2548, allocations: 135.3 kB / 435.1 MB, free: 2.172 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.358e-05/0.2549, allocations: 21.62 kB / 435.1 MB, free: 2.148 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.64e-05/0.255, allocations: 55.41 kB / 435.2 MB, free: 2.094 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.255, allocations: 0 / 435.2 MB, free: 2.094 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02627/0.2813, allocations: 5.198 MB / 440.4 MB, free: 13 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.11, allocations: 14.91 kB / 440.4 MB, free: 12.99 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.472460253047757] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y', 'hold1.y'] 11.321849189931527 11.349091049 11.101373078 Calling exit ...