Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001469/0.001469, allocations: 118.6 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001556/0.001556, allocations: 218.6 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.545/1.545, allocations: 230.4 MB / 254.7 MB, free: 14.99 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 75.8 kB / 373.6 MB, free: 10.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1164, allocations: 53.31 MB / 426.9 MB, free: 4.836 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002814/0.1192, allocations: 1.447 MB / 428.3 MB, free: 3.379 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002847/0.1195, allocations: 95.73 kB / 428.4 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.801e-05/0.1196, allocations: 3.938 kB / 428.4 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.555e-05/0.1196, allocations: 4 kB / 428.4 MB, free: 3.277 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.392e-05/0.1197, allocations: 7.875 kB / 428.4 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.1199, allocations: 27.91 kB / 428.5 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.241e-05/0.12, allocations: 15.98 kB / 428.5 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.246e-05/0.1201, allocations: 8 kB / 428.5 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.175e-05/0.1201, allocations: 19.91 kB / 428.5 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.817e-05/0.1201, allocations: 11.94 kB / 428.5 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.1202, allocations: 3.938 kB / 428.5 MB, free: 3.184 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.046e-05/0.1202, allocations: 4 kB / 428.5 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.815e-05/0.1202, allocations: 4 kB / 428.5 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.44e-05/0.1202, allocations: 15.92 kB / 428.5 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.106e-05/0.1203, allocations: 23.84 kB / 428.6 MB, free: 3.137 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1203, allocations: 0 / 428.6 MB, free: 3.137 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1203, allocations: 0 / 428.6 MB, free: 3.137 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.1203, allocations: 3.938 kB / 428.6 MB, free: 3.133 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005886/0.1209, allocations: 339.5 kB / 428.9 MB, free: 2.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.121, allocations: 12.03 kB / 428.9 MB, free: 2.738 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.747e-05/0.121, allocations: 30.75 kB / 428.9 MB, free: 2.699 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.098e-05/0.121, allocations: 0.9375 kB / 428.9 MB, free: 2.699 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002691/0.1213, allocations: 188.2 kB / 429.1 MB, free: 2.477 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.1213, allocations: 384 / 429.1 MB, free: 2.477 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.1213, allocations: 4.375 kB / 429.1 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002748/0.1216, allocations: 103.9 kB / 429.2 MB, free: 2.359 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.1216, allocations: 7.875 kB / 429.2 MB, free: 2.352 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.218e-06/0.1216, allocations: 0 / 429.2 MB, free: 2.352 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.1216, allocations: 0 / 429.2 MB, free: 2.352 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.152e-05/0.1217, allocations: 11.98 kB / 429.3 MB, free: 2.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001686/0.1219, allocations: 157.7 kB / 429.4 MB, free: 2.137 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.122, allocations: 46.55 kB / 429.5 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.062e-05/0.1221, allocations: 20.88 kB / 429.5 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.1221, allocations: 4 kB / 429.5 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.1221, allocations: 38.5 kB / 429.5 MB, free: 2.008 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1221, allocations: 0 / 429.5 MB, free: 2.008 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002046/0.1223, allocations: 69.61 kB / 429.6 MB, free: 1.934 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.1224, allocations: 51.41 kB / 429.6 MB, free: 1.871 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.19e-05/0.1225, allocations: 113.8 kB / 429.7 MB, free: 1.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.1225, allocations: 25.7 kB / 429.8 MB, free: 1.719 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.371e-05/0.1225, allocations: 80.14 kB / 429.8 MB, free: 1.637 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.051e-05/0.1225, allocations: 8 kB / 429.9 MB, free: 1.629 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.1226, allocations: 13.72 kB / 429.9 MB, free: 1.609 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.1227, allocations: 318.8 kB / 430.2 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.648e-06/0.1227, allocations: 0 / 430.2 MB, free: 1.289 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.107e-05/0.1227, allocations: 35.31 kB / 430.2 MB, free: 1.242 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.597e-05/0.1228, allocations: 35.44 kB / 430.2 MB, free: 1.195 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.1228, allocations: 3.984 kB / 430.3 MB, free: 1.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.957e-05/0.1229, allocations: 57.58 kB / 430.3 MB, free: 1.129 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.1229, allocations: 7.938 kB / 430.3 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.1229, allocations: 4 kB / 430.3 MB, free: 1.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.1229, allocations: 0 / 430.3 MB, free: 1.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.967e-05/0.123, allocations: 15.92 kB / 430.3 MB, free: 1.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.529e-05/0.123, allocations: 0 / 430.3 MB, free: 1.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.447e-05/0.123, allocations: 0 / 430.3 MB, free: 1.102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.1231, allocations: 4 kB / 430.3 MB, free: 1.098 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.616e-05/0.1231, allocations: 110 kB / 430.4 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.252e-05/0.1232, allocations: 65.52 kB / 430.5 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.871e-05/0.1233, allocations: 7.5 kB / 430.5 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-06/0.1233, allocations: 0 / 430.5 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.1233, allocations: 0 / 430.5 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.195e-06/0.1233, allocations: 0 / 430.5 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.1234, allocations: 157.7 kB / 430.7 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.1234, allocations: 0 / 430.7 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.055e-05/0.1234, allocations: 4 kB / 430.7 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.1234, allocations: 3.938 kB / 430.7 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.523e-06/0.1234, allocations: 0 / 430.7 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1234, allocations: 4 kB / 430.7 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1234, allocations: 0 / 430.7 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001292/0.1236, allocations: 85.05 kB / 430.8 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.018e-05/0.1236, allocations: 89 kB / 430.9 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.1236, allocations: 3.938 kB / 430.9 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.849e-05/0.1236, allocations: 256 / 430.9 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.975e-06/0.1236, allocations: 0 / 430.9 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.1236, allocations: 8 kB / 430.9 MB, free: 472 kB / 350.1 MB Notification: Performance of sorting global known variables: time 4.896e-05/0.1237, allocations: 83.28 kB / 430.9 MB, free: 388 kB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1237, allocations: 0 / 430.9 MB, free: 388 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001954/0.1239, allocations: 8 kB / 431 MB, free: 380 kB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (step.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0004639/0.1244, allocations: 0.6089 MB / 431.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001224/0.1245, allocations: 35.95 kB / 431.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1245, allocations: 0 / 431.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.1245, allocations: 0 / 431.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/0.1247, allocations: 22.36 kB / 431.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.1259, allocations: 1.154 MB / 432.8 MB, free: 14.42 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002934/0.1262, allocations: 0.6807 MB / 433.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.377e-05/0.1262, allocations: 3.938 kB / 433.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.458e-05/0.1262, allocations: 11.44 kB / 433.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1262, allocations: 0 / 433.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02542/0.1516, allocations: 1.242 MB / 434.7 MB, free: 12.6 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.813/7.964, allocations: 11.92 kB / 434.7 MB, free: 12.59 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.417514304164797] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y'] 8.030138726346195 8.047008381 7.923280566 Calling exit ...