Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.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.001868/0.001868, allocations: 109.1 kB / 21.21 MB, free: 0.6445 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.002318/0.002318, allocations: 209.4 kB / 24.51 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 230.5 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.Electrical.Digital.Examples.WiredX,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_WiredX",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.WiredX,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_WiredX",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 67.89 kB / 378.5 MB, free: 2.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2877, allocations: 53.41 MB / 431.9 MB, free: 6.477 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.003536/0.2913, allocations: 1.724 MB / 433.6 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002789/0.2941, allocations: 0.9355 MB / 434.6 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000154/0.2942, allocations: 4 kB / 434.6 MB, free: 3.801 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002445/0.2945, allocations: 27.72 kB / 434.6 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001357/0.2946, allocations: 39.7 kB / 434.6 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005652/0.2952, allocations: 99.77 kB / 434.7 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004819/0.2956, allocations: 295.3 kB / 435 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/0.2958, allocations: 35.91 kB / 435.1 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009283/0.2967, allocations: 0.7524 MB / 435.8 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002335/0.297, allocations: 155.4 kB / 436 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.115e-05/0.297, allocations: 24 kB / 436 MB, free: 2.383 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.283e-05/0.2971, allocations: 20 kB / 436 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001741/0.2973, allocations: 139.4 kB / 436.1 MB, free: 2.227 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002177/0.2975, allocations: 170.6 kB / 436.3 MB, free: 2.059 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007933/0.2983, allocations: 0.7624 MB / 437.1 MB, free: 1.293 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2983, allocations: 0 / 437.1 MB, free: 1.293 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2983, allocations: 4 kB / 437.1 MB, free: 1.289 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.192e-05/0.2983, allocations: 0 / 437.1 MB, free: 1.289 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.00145/0.2998, allocations: 1.113 MB / 438.2 MB, free: 96 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.284e-05/0.2998, allocations: 8.031 kB / 438.2 MB, free: 88 kB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.761e-05/0.2999, allocations: 12.36 kB / 438.2 MB, free: 76 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.461e-05/0.2999, allocations: 46.75 kB / 438.3 MB, free: 20 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001503/0.3001, allocations: 76.52 kB / 438.3 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004729/0.3005, allocations: 347 kB / 438.7 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.531e-05/0.3006, allocations: 16.31 kB / 438.7 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.45e-05/0.3006, allocations: 20 kB / 438.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007349/0.3014, allocations: 480 kB / 439.2 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.3014, allocations: 0 / 439.2 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.266e-05/0.3014, allocations: 12 kB / 439.2 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.3014, allocations: 7.938 kB / 439.2 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004885/0.3019, allocations: 373.8 kB / 439.6 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001426/0.3033, allocations: 0.656 MB / 440.2 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005707/0.3039, allocations: 392.1 kB / 440.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004562/0.3044, allocations: 366.4 kB / 441 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.3044, allocations: 7.938 kB / 441 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008865/0.3053, allocations: 0.6136 MB / 441.6 MB, free: 12.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 2.505e-06/0.3053, allocations: 0 / 441.6 MB, free: 12.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001976/0.3073, allocations: 1.408 MB / 443 MB, free: 10.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001734/0.3074, allocations: 285 kB / 443.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001355/0.3088, allocations: 0.9529 MB / 444.2 MB, free: 9.461 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.919e-05/0.3089, allocations: 41.7 kB / 444.3 MB, free: 9.414 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.309, allocations: 126.1 kB / 444.4 MB, free: 9.289 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.63e-05/0.3091, allocations: 71.47 kB / 444.4 MB, free: 9.219 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002401/0.3093, allocations: 157.3 kB / 444.6 MB, free: 9.059 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.3095, allocations: 342.8 kB / 444.9 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004301/0.3099, allocations: 361.8 kB / 445.3 MB, free: 8.312 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004448/0.3104, allocations: 406 kB / 445.7 MB, free: 7.855 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008224/0.3112, allocations: 0.7099 MB / 446.4 MB, free: 7.031 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.3112, allocations: 4 kB / 446.4 MB, free: 7.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001342/0.3125, allocations: 0.9972 MB / 447.4 MB, free: 5.926 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001962/0.3127, allocations: 249.5 kB / 447.6 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.3127, allocations: 7.984 kB / 447.6 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.3128, allocations: 0 / 447.6 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.896e-05/0.3128, allocations: 15.94 kB / 447.7 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.3128, allocations: 0 / 447.7 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002669/0.3131, allocations: 31.86 kB / 447.7 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001414/0.3132, allocations: 116.2 kB / 447.8 MB, free: 5.465 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: 34 ($PRE.bUF3S1.inertialDelaySensitive.y,$PRE.bUF3S2.inertialDelaySensitive.y,wiredX.auxiliary[2],wiredX.auxiliary[1],bUF3S1.inertialDelaySensitive.t_next,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.y_old,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.x,$PRE.bUF3S1.inertialDelaySensitive.x,bUF3S1.yy,bUF3S1.nextstate,x_table1.y,e_table1.y,bUF3S2.inertialDelaySensitive.t_next,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.y_old,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.x,$PRE.bUF3S2.inertialDelaySensitive.x,bUF3S2.yy,bUF3S2.nextstate,x_table2.y,e_table2.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.wiredX.auxiliary[2],wiredX.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 8 * 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.0007232/0.3139, allocations: 0.6045 MB / 448.4 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.3141, allocations: 79.53 kB / 448.5 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002051/0.3143, allocations: 130.9 kB / 448.6 MB, free: 4.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.3143, allocations: 4 kB / 448.6 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3143, allocations: 0 / 448.6 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.3143, allocations: 0 / 448.6 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002106/0.3164, allocations: 1.602 MB / 450.2 MB, free: 2.836 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.3164, allocations: 0 / 450.2 MB, free: 2.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.695e-05/0.3164, allocations: 4 kB / 450.2 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.3164, allocations: 4 kB / 450.2 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.002e-05/0.3165, allocations: 31.97 kB / 450.3 MB, free: 2.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.3165, allocations: 7.938 kB / 450.3 MB, free: 2.789 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3165, allocations: 0 / 450.3 MB, free: 2.789 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001471/0.3179, allocations: 1.213 MB / 451.5 MB, free: 1.461 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007693/0.3187, allocations: 408.9 kB / 451.9 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/0.3188, allocations: 23.98 kB / 451.9 MB, free: 1.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002266/0.3191, allocations: 23.98 kB / 451.9 MB, free: 1.008 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001895/0.3192, allocations: 59.88 kB / 452 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001465/0.3194, allocations: 107.9 kB / 452.1 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009507/0.3203, allocations: 0.6977 MB / 452.8 MB, free: 156 kB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3203, allocations: 0 / 452.8 MB, free: 156 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004029/0.3207, allocations: 92 kB / 452.9 MB, free: 64 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: 29 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,e_table2.y,x_table2.y,bUF3S2.nextstate,bUF3S2.yy,bUF3S2.inertialDelaySensitive.x,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.y_old,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.t_next,e_table1.y,x_table1.y,bUF3S1.nextstate,bUF3S1.yy,bUF3S1.inertialDelaySensitive.x,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.y_old,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.t_next,wiredX.y,wiredX.auxiliary[1],wiredX.auxiliary[2]) * Number of discrete states: 27 (e_table2.y,x_table2.y,bUF3S2.yy,bUF3S2.nextstate,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.t_next,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.y_old,$whenCondition4,$whenCondition3,bUF3S2.inertialDelaySensitive.x,e_table1.y,x_table1.y,bUF3S1.yy,bUF3S1.nextstate,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.t_next,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,bUF3S1.inertialDelaySensitive.x,wiredX.auxiliary[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 8 * 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.001893/0.3226, allocations: 1.797 MB / 454.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00134/0.324, allocations: 1.24 MB / 455.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.324, allocations: 0 / 455.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007584/0.3247, allocations: 0.8444 MB / 456.8 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.3258, allocations: 280.7 kB / 457 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007279/0.3331, allocations: 5.822 MB / 462.9 MB, free: 5.238 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000474/0.3336, allocations: 349 kB / 463.2 MB, free: 4.867 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002442/0.3338, allocations: 93.22 kB / 463.3 MB, free: 4.777 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001554/0.334, allocations: 91.34 kB / 463.4 MB, free: 4.688 MB / 366.1 MB Notification: Performance of SimCode: time 1.112e-06/0.334, allocations: 0 / 463.4 MB, free: 4.688 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05066/0.3846, allocations: 12.87 MB / 476.3 MB, free: 7.953 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.7, allocations: 14.2 kB / 476.3 MB, free: 7.945 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Digital_Examples_WiredX_fmu --startTime=0 --stopTime=12 --stepSize=0.00239187 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Digital_Examples_WiredX.fmu > Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.20326916500926] Failed to read output from testmodel.py, exit status != 0: ['time', 'wiredX.y'] 11.863028175081126 11.878593174 11.576791194 Calling exit ...