Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.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.001716/0.001716, allocations: 121 kB / 18.49 MB, free: 4.586 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.00199/0.00199, allocations: 213.5 kB / 21.45 MB, free: 1.637 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.433/1.433, allocations: 230.6 MB / 254.8 MB, free: 15.1 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.SubSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 51.91 kB / 373.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09858/0.1001, allocations: 53.33 MB / 427 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.003371/0.1035, allocations: 1.916 MB / 428.9 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002068/0.1055, allocations: 1.196 MB / 430.1 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001602/0.1057, allocations: 11.88 kB / 430.1 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006696/0.1064, allocations: 155.5 kB / 430.3 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004483/0.1068, allocations: 155.4 kB / 430.4 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005158/0.1073, allocations: 167.1 kB / 430.6 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003138/0.1076, allocations: 187.5 kB / 430.8 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.1078, allocations: 29.55 kB / 430.8 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001501/0.1079, allocations: 79.62 kB / 430.9 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.1081, allocations: 79.61 kB / 431 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.457e-05/0.1081, allocations: 8 kB / 431 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001511/0.1082, allocations: 59.97 kB / 431 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.097e-05/0.1083, allocations: 39.84 kB / 431.1 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.1084, allocations: 79.41 kB / 431.2 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003488/0.1088, allocations: 207.1 kB / 431.4 MB, free: 448 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1088, allocations: 0 / 431.4 MB, free: 448 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1088, allocations: 0 / 431.4 MB, free: 448 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.1088, allocations: 0 / 431.4 MB, free: 448 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.1893/0.2981, allocations: 0.5217 MB / 431.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.2981, allocations: 10.81 kB / 431.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.818e-05/0.2982, allocations: 7.156 kB / 431.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.636e-05/0.2982, allocations: 33.66 kB / 431.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.387e-05/0.2983, allocations: 22.7 kB / 432 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000373/0.2986, allocations: 270.6 kB / 432.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.2986, allocations: 7.562 kB / 432.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.635e-05/0.2987, allocations: 6.656 kB / 432.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003437/0.299, allocations: 148.9 kB / 432.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.299, allocations: 1.312 kB / 432.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.299, allocations: 3.75 kB / 432.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.299, allocations: 2.531 kB / 432.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.2991, allocations: 37.84 kB / 432.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004524/0.2996, allocations: 362.7 kB / 432.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002145/0.2998, allocations: 108.4 kB / 432.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.553e-05/0.2999, allocations: 40.92 kB / 432.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.977e-05/0.2999, allocations: 3.812 kB / 432.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001568/0.3001, allocations: 75.09 kB / 433 MB, free: 10.47 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.684e-06/0.3001, allocations: 3.25 kB / 433 MB, free: 10.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004153/0.3005, allocations: 145.9 kB / 433.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/0.3005, allocations: 134.1 kB / 433.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002668/0.3008, allocations: 269.8 kB / 433.5 MB, free: 10.17 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.3008, allocations: 36.75 kB / 433.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.532e-05/0.3009, allocations: 118 kB / 433.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.3009, allocations: 17.02 kB / 433.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.586e-05/0.301, allocations: 33.41 kB / 433.7 MB, free: 10.03 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.446e-05/0.301, allocations: 334.4 kB / 434.1 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.993e-05/0.3011, allocations: 21.28 kB / 434.1 MB, free: 9.711 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.04e-05/0.3012, allocations: 70.45 kB / 434.2 MB, free: 9.656 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.3013, allocations: 79.22 kB / 434.2 MB, free: 9.617 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3013, allocations: 0 / 434.2 MB, free: 9.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002144/0.3015, allocations: 112.9 kB / 434.3 MB, free: 9.578 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.3015, allocations: 9.156 kB / 434.3 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3015, allocations: 0.5938 kB / 434.3 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.3015, allocations: 3.641 kB / 434.4 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.042e-05/0.3016, allocations: 13.38 kB / 434.4 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.3016, allocations: 5.312 kB / 434.4 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.474e-05/0.3017, allocations: 9.969 kB / 434.4 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.3017, allocations: 3.938 kB / 434.4 MB, free: 9.578 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: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u,subSample1.y,subSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001015/0.3018, allocations: 149.4 kB / 434.5 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.181e-05/0.3019, allocations: 65.27 kB / 434.6 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.542e-05/0.3019, allocations: 21.53 kB / 434.6 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.3019, allocations: 3.188 kB / 434.6 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.3019, allocations: 1.375 kB / 434.6 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.3019, allocations: 6.672 kB / 434.6 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.3021, allocations: 235.9 kB / 434.9 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3021, allocations: 1.094 kB / 434.9 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.46e-05/0.3021, allocations: 9.297 kB / 434.9 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.3021, allocations: 6.125 kB / 434.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.3021, allocations: 1.094 kB / 434.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.3021, allocations: 5.75 kB / 434.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3021, allocations: 0.6094 kB / 434.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001998/0.3023, allocations: 162.1 kB / 435 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.253e-05/0.3024, allocations: 113.8 kB / 435.1 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.765e-05/0.3024, allocations: 2.312 kB / 435.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.729e-05/0.3025, allocations: 3.844 kB / 435.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.043e-05/0.3025, allocations: 9.125 kB / 435.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.3025, allocations: 3.062 kB / 435.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001583/0.3027, allocations: 202.4 kB / 435.4 MB, free: 8.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3027, allocations: 0 / 435.4 MB, free: 8.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002539/0.3029, allocations: 33.2 kB / 435.4 MB, free: 8.93 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: 7 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,subSample1.y,sample1.y,subSample1.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 (9): * Single equations (assignments): 7 * 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.001776/0.3047, allocations: 0.9972 MB / 436.4 MB, free: 8.258 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002233/0.3049, allocations: 67.81 kB / 436.5 MB, free: 8.254 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3049, allocations: 0 / 436.5 MB, free: 8.254 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.888e-05/0.305, allocations: 21.19 kB / 436.5 MB, free: 8.254 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004087/0.3054, allocations: 75.38 kB / 436.6 MB, free: 8.246 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001825/0.3072, allocations: 1.95 MB / 438.5 MB, free: 6.969 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001522/0.3074, allocations: 0.732 MB / 439.2 MB, free: 6.266 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.002e-05/0.3075, allocations: 25.3 kB / 439.3 MB, free: 6.262 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.044e-05/0.3075, allocations: 50.3 kB / 439.3 MB, free: 6.227 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3075, allocations: 0 / 439.3 MB, free: 6.227 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02617/0.3337, allocations: 4.7 MB / 444 MB, free: 5.398 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.043/8.376, allocations: 8.875 kB / 444 MB, free: 5.395 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample_fmu --startTime=0 --stopTime=0.2 --stepSize=3.98963e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.802779549965635] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'subSample1.y'] 8.55558275198564 8.575500262 8.462471209 Calling exit ...