Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.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.005307/0.005307, allocations: 100.7 kB / 21.96 MB, free: 5.211 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.001385/0.001385, allocations: 217.5 kB / 25.26 MB, free: 3.141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.325/1.325, allocations: 207.7 MB / 236.1 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Electrical.Digital.Examples.BUF3S,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_BUF3S",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.BUF3S,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_BUF3S",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001761, allocations: 48.3 kB / 348 MB, free: 9.914 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2401, allocations: 49.16 MB / 397.1 MB, free: 9.09 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002422/0.2425, allocations: 1.479 MB / 398.6 MB, free: 8.074 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001709/0.2442, allocations: 0.847 MB / 399.4 MB, free: 7.523 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.094e-05/0.2443, allocations: 1.281 kB / 399.5 MB, free: 7.523 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.497e-05/0.2444, allocations: 11.8 kB / 399.5 MB, free: 7.516 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.843e-05/0.2445, allocations: 22.52 kB / 399.5 MB, free: 7.5 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002441/0.2447, allocations: 45.83 kB / 399.5 MB, free: 7.477 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002159/0.2449, allocations: 140 kB / 399.7 MB, free: 7.406 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.856e-05/0.245, allocations: 23.97 kB / 399.7 MB, free: 7.395 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004714/0.2455, allocations: 392.2 kB / 400.1 MB, free: 7.348 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.2456, allocations: 67.17 kB / 400.1 MB, free: 7.32 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.211e-05/0.2456, allocations: 13.84 kB / 400.2 MB, free: 7.316 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.083e-05/0.2457, allocations: 9.344 kB / 400.2 MB, free: 7.316 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.179e-05/0.2458, allocations: 63.02 kB / 400.2 MB, free: 7.297 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.55e-05/0.2458, allocations: 86.98 kB / 400.3 MB, free: 7.238 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003516/0.2462, allocations: 348.4 kB / 400.6 MB, free: 7.129 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2462, allocations: 0 / 400.6 MB, free: 7.129 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2462, allocations: 0 / 400.6 MB, free: 7.129 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.2462, allocations: 5.438 kB / 400.7 MB, free: 7.125 MB / 318.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.0005671/0.2468, allocations: 0.6653 MB / 401.3 MB, free: 6.535 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.2468, allocations: 14.73 kB / 401.3 MB, free: 6.531 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.828e-05/0.2468, allocations: 1.562 kB / 401.3 MB, free: 6.531 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.874e-05/0.2469, allocations: 44.2 kB / 401.4 MB, free: 6.484 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.546e-05/0.2469, allocations: 43.14 kB / 401.4 MB, free: 6.461 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.2471, allocations: 213.8 kB / 401.6 MB, free: 6.266 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.2471, allocations: 6 kB / 401.6 MB, free: 6.266 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.538e-05/0.2472, allocations: 11.03 kB / 401.6 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003107/0.2475, allocations: 245.4 kB / 401.9 MB, free: 6.07 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.2475, allocations: 0 / 401.9 MB, free: 6.07 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.163e-05/0.2475, allocations: 7.125 kB / 401.9 MB, free: 6.066 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.2475, allocations: 1.312 kB / 401.9 MB, free: 6.066 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001592/0.2477, allocations: 174.7 kB / 402.1 MB, free: 5.918 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005303/0.2482, allocations: 412.3 kB / 402.5 MB, free: 5.598 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.2484, allocations: 191.1 kB / 402.7 MB, free: 5.426 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/0.2485, allocations: 178.6 kB / 402.8 MB, free: 5.27 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.994e-06/0.2486, allocations: 1.062 kB / 402.8 MB, free: 5.27 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000337/0.2489, allocations: 320.8 kB / 403.1 MB, free: 5 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.362e-06/0.2489, allocations: 0 / 403.1 MB, free: 5 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007738/0.2497, allocations: 0.6977 MB / 403.8 MB, free: 4.469 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/0.2497, allocations: 169 kB / 404 MB, free: 4.277 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005481/0.2503, allocations: 0.5165 MB / 404.5 MB, free: 3.988 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.2503, allocations: 42.11 kB / 404.6 MB, free: 3.945 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.091e-05/0.2503, allocations: 97.12 kB / 404.7 MB, free: 3.855 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.309e-05/0.2504, allocations: 31.47 kB / 404.7 MB, free: 3.832 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.862e-05/0.2505, allocations: 76.89 kB / 404.8 MB, free: 3.789 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.27e-05/0.2505, allocations: 330.6 kB / 405.1 MB, free: 3.465 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.2507, allocations: 174.5 kB / 405.3 MB, free: 3.316 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001782/0.2508, allocations: 193.5 kB / 405.4 MB, free: 3.148 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002508/0.2511, allocations: 347 kB / 405.8 MB, free: 2.832 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.2511, allocations: 0 / 405.8 MB, free: 2.832 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004708/0.2516, allocations: 0.4947 MB / 406.3 MB, free: 2.465 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.357e-05/0.2516, allocations: 124 kB / 406.4 MB, free: 2.336 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2516, allocations: 3.984 kB / 406.4 MB, free: 2.332 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.2516, allocations: 2.656 kB / 406.4 MB, free: 2.332 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.674e-05/0.2517, allocations: 0 / 406.4 MB, free: 2.332 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.2517, allocations: 1.281 kB / 406.4 MB, free: 2.332 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001273/0.2518, allocations: 20.11 kB / 406.4 MB, free: 2.324 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.143e-05/0.2518, allocations: 41.31 kB / 406.5 MB, free: 2.32 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.t_next,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.y_old,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.x,$PRE.bUF3S.inertialDelaySensitive.x,bUF3S.yy,bUF3S.nextstate,x_table.y,e_table.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * 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.0002558/0.2521, allocations: 360 kB / 406.8 MB, free: 2.02 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.862e-05/0.2521, allocations: 45.11 kB / 406.9 MB, free: 1.996 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.432e-05/0.2522, allocations: 63.48 kB / 406.9 MB, free: 1.957 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.2522, allocations: 1.281 kB / 406.9 MB, free: 1.957 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2522, allocations: 0 / 406.9 MB, free: 1.957 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2522, allocations: 2.156 kB / 406.9 MB, free: 1.957 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008855/0.2531, allocations: 0.8789 MB / 407.8 MB, free: 1.277 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.2531, allocations: 5.531 kB / 407.8 MB, free: 1.273 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.198e-06/0.2531, allocations: 0 / 407.8 MB, free: 1.273 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.2531, allocations: 0.5156 kB / 407.8 MB, free: 1.273 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.873e-05/0.2532, allocations: 20.56 kB / 407.8 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.2532, allocations: 3.938 kB / 407.8 MB, free: 1.262 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2532, allocations: 7.938 kB / 407.8 MB, free: 1.254 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005694/0.2537, allocations: 0.6469 MB / 408.5 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003181/0.2541, allocations: 201.3 kB / 408.7 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.552e-05/0.2541, allocations: 10.88 kB / 408.7 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.2542, allocations: 14.67 kB / 408.7 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.713e-05/0.2543, allocations: 24.38 kB / 408.7 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.717e-05/0.2544, allocations: 43.08 kB / 408.8 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000405/0.2548, allocations: 392.2 kB / 409.2 MB, free: 436 kB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2548, allocations: 0 / 409.2 MB, free: 436 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002805/0.2551, allocations: 41.69 kB / 409.2 MB, free: 436 kB / 318.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: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,bUF3S.nextstate,bUF3S.yy,bUF3S.inertialDelaySensitive.x,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.y_old,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,bUF3S.yy,bUF3S.nextstate,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.t_next,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,bUF3S.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * 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.001015/0.2561, allocations: 1.209 MB / 410.4 MB, free: 15.39 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006737/0.2568, allocations: 0.5999 MB / 411 MB, free: 14.82 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2568, allocations: 0 / 411 MB, free: 14.82 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004029/0.2572, allocations: 428.2 kB / 411.4 MB, free: 14.41 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006133/0.2578, allocations: 123 kB / 411.5 MB, free: 14.37 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003953/0.2617, allocations: 3.351 MB / 414.9 MB, free: 11.76 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/0.262, allocations: 201 kB / 415.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.504e-05/0.2621, allocations: 14.36 kB / 415.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.15e-05/0.2621, allocations: 30.22 kB / 415.1 MB, free: 11.61 MB / 334.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2621, allocations: 0 / 415.1 MB, free: 11.61 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02731/0.2895, allocations: 6.4 MB / 421.5 MB, free: 8.395 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.07, allocations: 14.64 kB / 421.6 MB, free: 8.383 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Digital_Examples_BUF3S_fmu --startTime=0 --stopTime=12 --stepSize=0.0023933 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Digital_Examples_BUF3S.fmu > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.308275334071368] Failed to read output from testmodel.py, exit status != 0: ['time', 'bUF3S.y'] 11.247142884065397 11.260927157 11.011971045 Calling exit ...