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.TimeBasedPulse.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.001811/0.001811, allocations: 105.7 kB / 19.74 MB, free: 2.453 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.00155/0.00155, allocations: 214.7 kB / 22.92 MB, free: 5.195 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.297/1.297, allocations: 230.5 MB / 256.4 MB, free: 8.266 MB / 206.1 MB " [Timeout remaining time 179] 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.TimeBasedPulse,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse",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.001798/0.001798, allocations: 71.81 kB / 376.1 MB, free: 4.094 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2333, allocations: 53.32 MB / 429.4 MB, free: 7.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002459/0.2358, allocations: 1.505 MB / 430.9 MB, free: 5.934 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000808/0.2366, allocations: 0.4909 MB / 431.4 MB, free: 5.438 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.935e-05/0.2367, allocations: 0 / 431.4 MB, free: 5.438 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.942e-05/0.2367, allocations: 3.938 kB / 431.4 MB, free: 5.434 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001364/0.2368, allocations: 19.86 kB / 431.4 MB, free: 5.414 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001587/0.237, allocations: 34.78 kB / 431.4 MB, free: 5.383 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.925e-05/0.2371, allocations: 51.84 kB / 431.5 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.611e-05/0.2372, allocations: 11.98 kB / 431.5 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.822e-05/0.2373, allocations: 23.92 kB / 431.5 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.132e-05/0.2373, allocations: 23.86 kB / 431.6 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.2373, allocations: 7.938 kB / 431.6 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.191e-05/0.2373, allocations: 4 kB / 431.6 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.102e-05/0.2374, allocations: 11.92 kB / 431.6 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.638e-05/0.2374, allocations: 19.94 kB / 431.6 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001062/0.2375, allocations: 51.59 kB / 431.7 MB, free: 5.184 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2375, allocations: 0 / 431.7 MB, free: 5.184 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2375, allocations: 0 / 431.7 MB, free: 5.184 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.2375, allocations: 0 / 431.7 MB, free: 5.184 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005474/0.2381, allocations: 379.9 kB / 432 MB, free: 4.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.2381, allocations: 12.03 kB / 432 MB, free: 4.758 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.959e-05/0.2381, allocations: 34.75 kB / 432.1 MB, free: 4.715 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.608e-05/0.2382, allocations: 8.891 kB / 432.1 MB, free: 4.707 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002193/0.2384, allocations: 192.2 kB / 432.3 MB, free: 4.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.2384, allocations: 4.375 kB / 432.3 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.2384, allocations: 384 / 432.3 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000336/0.2387, allocations: 147.3 kB / 432.4 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.2387, allocations: 0 / 432.4 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.2388, allocations: 4 kB / 432.4 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.2388, allocations: 0 / 432.4 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.555e-05/0.2389, allocations: 27.98 kB / 432.4 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001546/0.239, allocations: 165.6 kB / 432.6 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/0.2392, allocations: 135.7 kB / 432.7 MB, free: 3.918 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.954e-05/0.2393, allocations: 32.78 kB / 432.8 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.2393, allocations: 4 kB / 432.8 MB, free: 3.879 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.2393, allocations: 34.5 kB / 432.8 MB, free: 3.836 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.2393, allocations: 0 / 432.8 MB, free: 3.836 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002472/0.2396, allocations: 89.62 kB / 432.9 MB, free: 3.742 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/0.2396, allocations: 55.39 kB / 432.9 MB, free: 3.676 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.602e-05/0.2397, allocations: 121.7 kB / 433.1 MB, free: 3.547 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.2397, allocations: 25.7 kB / 433.1 MB, free: 3.516 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.041e-05/0.2398, allocations: 88.14 kB / 433.2 MB, free: 3.426 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.098e-05/0.2398, allocations: 0 / 433.2 MB, free: 3.426 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-05/0.2398, allocations: 21.72 kB / 433.2 MB, free: 3.398 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.2399, allocations: 318.8 kB / 433.5 MB, free: 3.078 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.832e-05/0.2399, allocations: 4 kB / 433.5 MB, free: 3.074 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.297e-05/0.24, allocations: 45.14 kB / 433.6 MB, free: 3.012 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.286e-05/0.2401, allocations: 61.09 kB / 433.6 MB, free: 2.934 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2401, allocations: 0 / 433.6 MB, free: 2.934 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001136/0.2402, allocations: 81.45 kB / 433.7 MB, free: 2.848 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.2402, allocations: 8 kB / 433.7 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.2402, allocations: 480 / 433.7 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.2402, allocations: 4 kB / 433.7 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.198e-05/0.2402, allocations: 7.938 kB / 433.7 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.2403, allocations: 7.984 kB / 433.7 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.072e-05/0.2403, allocations: 3.938 kB / 433.7 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.2403, allocations: 4 kB / 433.7 MB, free: 2.812 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: 3 (assignClock1.y,assignClock1.u,pulse.y) * Number of discrete states: 0 () * Number of clocked states: 1 (pulse.next) * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 7.906e-05/0.2404, allocations: 118 kB / 433.8 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/0.2405, allocations: 81.5 kB / 433.9 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.961e-05/0.2405, allocations: 12.36 kB / 433.9 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.2405, allocations: 0 / 433.9 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.2405, allocations: 0 / 433.9 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.2405, allocations: 4 kB / 433.9 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001035/0.2407, allocations: 157.7 kB / 434.1 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.2407, allocations: 0 / 434.1 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.228e-05/0.2407, allocations: 12.23 kB / 434.1 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.2407, allocations: 4 kB / 434.1 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.2407, allocations: 12 kB / 434.1 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2407, allocations: 3.938 kB / 434.1 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.2407, allocations: 3.984 kB / 434.1 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001555/0.2409, allocations: 97 kB / 434.2 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.021e-05/0.2409, allocations: 85.05 kB / 434.3 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.2409, allocations: 0 / 434.3 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.113e-05/0.241, allocations: 23.98 kB / 434.3 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.974e-06/0.241, allocations: 0 / 434.3 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.241, allocations: 0 / 434.3 MB, free: 2.109 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.94e-05/0.2411, allocations: 91.27 kB / 434.4 MB, free: 2.02 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2411, allocations: 0 / 434.4 MB, free: 2.02 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001815/0.2413, allocations: 4 kB / 434.4 MB, free: 2.016 MB / 334.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 (pulse.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 1 (pulse.next) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0005112/0.2418, allocations: 0.667 MB / 435.1 MB, free: 1.32 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001289/0.2419, allocations: 35.92 kB / 435.1 MB, free: 1.285 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2419, allocations: 0 / 435.1 MB, free: 1.285 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.72e-07/0.2419, allocations: 3.938 kB / 435.1 MB, free: 1.281 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.2422, allocations: 43.03 kB / 435.2 MB, free: 1.242 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.2433, allocations: 1.247 MB / 436.4 MB, free: 15.88 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/0.2436, allocations: 0.6885 MB / 437.1 MB, free: 15.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.999e-05/0.2436, allocations: 3.984 kB / 437.1 MB, free: 15.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.008e-05/0.2436, allocations: 11.44 kB / 437.1 MB, free: 15.15 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2436, allocations: 0 / 437.1 MB, free: 15.15 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02395/0.2676, allocations: 1.645 MB / 438.8 MB, free: 13.59 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.871/7.138, allocations: 7.188 kB / 438.8 MB, free: 13.59 MB / 350.1 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.258743229001993]