Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 121 kB / 18.5 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 213.5 kB / 21.45 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.462/1.462, allocations: 230.6 MB / 254.8 MB, free: 15.09 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001765/0.001765, allocations: 43.92 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1061, allocations: 53.33 MB / 427 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003557/0.1097, allocations: 1.924 MB / 428.9 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002209/0.1119, allocations: 1.239 MB / 430.2 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001963/0.1121, allocations: 7.938 kB / 430.2 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007072/0.1128, allocations: 155.2 kB / 430.3 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004779/0.1133, allocations: 159.4 kB / 430.5 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005663/0.1138, allocations: 175.4 kB / 430.7 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003277/0.1142, allocations: 195.5 kB / 430.9 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.1143, allocations: 21.67 kB / 430.9 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001543/0.1144, allocations: 87.56 kB / 431 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001778/0.1146, allocations: 83.61 kB / 431 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.95e-05/0.1146, allocations: 8 kB / 431 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001599/0.1148, allocations: 59.97 kB / 431.1 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.557e-05/0.1149, allocations: 51.77 kB / 431.2 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.573e-05/0.115, allocations: 71.48 kB / 431.2 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004209/0.1154, allocations: 223 kB / 431.4 MB, free: 328 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1154, allocations: 4 kB / 431.4 MB, free: 324 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1154, allocations: 0 / 431.4 MB, free: 324 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.1154, allocations: 0 / 431.4 MB, free: 324 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.174/0.2894, allocations: 0.5208 MB / 432 MB, free: 11.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.999e-05/0.2895, allocations: 11.75 kB / 432 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.498e-05/0.2895, allocations: 192 / 432 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.592e-05/0.2895, allocations: 38.88 kB / 432 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.35e-05/0.2896, allocations: 22.58 kB / 432 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003449/0.2899, allocations: 276.8 kB / 432.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.29, allocations: 12.02 kB / 432.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.29, allocations: 9.5 kB / 432.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003916/0.2904, allocations: 167.7 kB / 432.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.2904, allocations: 0.6094 kB / 432.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.2904, allocations: 1.25 kB / 432.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.2904, allocations: 2.031 kB / 432.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.2905, allocations: 42 kB / 432.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004969/0.291, allocations: 450.6 kB / 433 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002346/0.2913, allocations: 128.4 kB / 433.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.077e-05/0.2914, allocations: 55.95 kB / 433.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.204e-05/0.2914, allocations: 7.25 kB / 433.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001707/0.2916, allocations: 88.84 kB / 433.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/0.2916, allocations: 0.5312 kB / 433.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003824/0.2919, allocations: 158.2 kB / 433.4 MB, free: 10.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.379e-05/0.292, allocations: 166.2 kB / 433.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002399/0.2922, allocations: 279.5 kB / 433.8 MB, free: 9.996 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.2922, allocations: 35.2 kB / 433.9 MB, free: 9.965 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.336e-05/0.2923, allocations: 115.9 kB / 434 MB, free: 9.879 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.998e-05/0.2923, allocations: 17.3 kB / 434 MB, free: 9.871 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.935e-05/0.2924, allocations: 39.67 kB / 434 MB, free: 9.852 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.966e-05/0.2924, allocations: 331.6 kB / 434.4 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.064e-05/0.2925, allocations: 20.84 kB / 434.4 MB, free: 9.535 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.532e-05/0.2926, allocations: 81.84 kB / 434.5 MB, free: 9.473 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.2927, allocations: 92.66 kB / 434.6 MB, free: 9.426 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.2927, allocations: 2.406 kB / 434.6 MB, free: 9.426 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001918/0.2929, allocations: 127.4 kB / 434.7 MB, free: 9.387 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.2929, allocations: 7.375 kB / 434.7 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.2929, allocations: 6.562 kB / 434.7 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.2929, allocations: 2.5 kB / 434.7 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.301e-05/0.293, allocations: 17 kB / 434.7 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.293, allocations: 1.969 kB / 434.7 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.831e-05/0.293, allocations: 16.19 kB / 434.7 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.2931, allocations: 3.938 kB / 434.7 MB, free: 9.383 MB / 350.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 9.599e-05/0.2932, allocations: 154.9 kB / 434.9 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.295e-05/0.2932, allocations: 71.08 kB / 435 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.582e-05/0.2933, allocations: 22.91 kB / 435 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.2933, allocations: 7.109 kB / 435 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.2933, allocations: 0 / 435 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.2933, allocations: 7.969 kB / 435 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.2934, allocations: 238.4 kB / 435.2 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.2934, allocations: 0.5312 kB / 435.2 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.397e-05/0.2935, allocations: 7.406 kB / 435.2 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.2935, allocations: 0 / 435.2 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.2935, allocations: 8.094 kB / 435.2 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2935, allocations: 3.438 kB / 435.3 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.2935, allocations: 6.375 kB / 435.3 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002022/0.2937, allocations: 178.1 kB / 435.4 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.244e-05/0.2937, allocations: 104.9 kB / 435.5 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.008e-05/0.2938, allocations: 6.5 kB / 435.5 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.062e-05/0.2938, allocations: 3.281 kB / 435.5 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.304e-05/0.2939, allocations: 10.89 kB / 435.6 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.2939, allocations: 4.5 kB / 435.6 MB, free: 8.809 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001754/0.2941, allocations: 206.7 kB / 435.8 MB, free: 8.727 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2941, allocations: 0 / 435.8 MB, free: 8.727 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000261/0.2943, allocations: 40.11 kB / 435.8 MB, free: 8.715 MB / 350.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.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * 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.00171/0.296, allocations: 1.024 MB / 436.8 MB, free: 8.031 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002078/0.2962, allocations: 71.84 kB / 436.9 MB, free: 8.031 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2963, allocations: 0 / 436.9 MB, free: 8.031 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.912e-05/0.2963, allocations: 30.36 kB / 436.9 MB, free: 8.031 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000377/0.2967, allocations: 66.52 kB / 437 MB, free: 8.027 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001771/0.2985, allocations: 2.045 MB / 439 MB, free: 6.598 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001514/0.2986, allocations: 0.7335 MB / 439.8 MB, free: 5.898 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.72e-05/0.2987, allocations: 19.28 kB / 439.8 MB, free: 5.898 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.12e-05/0.2988, allocations: 51.62 kB / 439.8 MB, free: 5.863 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2988, allocations: 0 / 439.8 MB, free: 5.863 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02214/0.3209, allocations: 4.881 MB / 444.7 MB, free: 5.012 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.947/8.268, allocations: 8.984 kB / 444.7 MB, free: 5.012 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold_fmu --startTime=0 --stopTime=0.2 --stepSize=3.98963e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.71161596197635] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y', 'hold1.y'] 8.44794300099602 8.468628344 8.348779712 Calling exit ...