Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 108.6 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 191.7 kB / 24.5 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 225.6 MB / 253.3 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NXFER,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_NXFER",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NXFER,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_NXFER",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 43.92 kB / 371.2 MB, free: 9.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.2417, allocations: 52.19 MB / 423.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002696/0.2444, allocations: 1.513 MB / 424.9 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00184/0.2463, allocations: 0.8615 MB / 425.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.376e-05/0.2463, allocations: 4 kB / 425.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.928e-05/0.2464, allocations: 7.922 kB / 425.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.314e-05/0.2465, allocations: 23.8 kB / 425.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002454/0.2467, allocations: 47.94 kB / 425.9 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002088/0.2469, allocations: 131.7 kB / 426 MB, free: 12 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.339e-05/0.247, allocations: 12.23 kB / 426 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006589/0.2477, allocations: 0.5848 MB / 426.6 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.2478, allocations: 71.75 kB / 426.7 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.153e-05/0.2479, allocations: 15.98 kB / 426.7 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.757e-05/0.2479, allocations: 8 kB / 426.7 MB, free: 11.31 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.024e-05/0.248, allocations: 71.64 kB / 426.8 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.2481, allocations: 107.2 kB / 426.9 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004063/0.2485, allocations: 379.2 kB / 427.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2485, allocations: 0 / 427.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2485, allocations: 0 / 427.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.2485, allocations: 0 / 427.2 MB, free: 10.77 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007738/0.2493, allocations: 0.6591 MB / 427.9 MB, free: 10.05 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.2494, allocations: 12.03 kB / 427.9 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.454e-05/0.2494, allocations: 4.188 kB / 427.9 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.193e-05/0.2494, allocations: 34.75 kB / 427.9 MB, free: 9.992 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.886e-05/0.2495, allocations: 44.64 kB / 428 MB, free: 9.949 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002951/0.2498, allocations: 212.9 kB / 428.2 MB, free: 9.715 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.2498, allocations: 12.38 kB / 428.2 MB, free: 9.703 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.758e-05/0.2498, allocations: 4.375 kB / 428.2 MB, free: 9.699 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003088/0.2501, allocations: 133.5 kB / 428.3 MB, free: 9.562 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.2501, allocations: 0 / 428.3 MB, free: 9.562 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.318e-05/0.2502, allocations: 4 kB / 428.4 MB, free: 9.559 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.2502, allocations: 4 kB / 428.4 MB, free: 9.555 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001419/0.2503, allocations: 55.97 kB / 428.4 MB, free: 9.5 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000742/0.2511, allocations: 435.5 kB / 428.8 MB, free: 9.031 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.2512, allocations: 74.55 kB / 428.9 MB, free: 8.949 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.2514, allocations: 68.86 kB / 429 MB, free: 8.879 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.061e-06/0.2514, allocations: 0 / 429 MB, free: 8.879 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003554/0.2517, allocations: 206.7 kB / 429.2 MB, free: 8.652 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.2517, allocations: 0 / 429.2 MB, free: 8.652 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008309/0.2526, allocations: 486.8 kB / 429.7 MB, free: 8.148 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.2527, allocations: 166.2 kB / 429.8 MB, free: 7.949 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000637/0.2533, allocations: 0.509 MB / 430.3 MB, free: 7.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.578e-05/0.2534, allocations: 37.69 kB / 430.4 MB, free: 7.387 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.635e-05/0.2534, allocations: 97.08 kB / 430.5 MB, free: 7.289 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.388e-05/0.2535, allocations: 35.8 kB / 430.5 MB, free: 7.254 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.2536, allocations: 77.56 kB / 430.6 MB, free: 7.172 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.2538, allocations: 326.8 kB / 430.9 MB, free: 6.844 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.2539, allocations: 63.91 kB / 430.9 MB, free: 6.781 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.254, allocations: 80.77 kB / 431 MB, free: 6.699 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003627/0.2544, allocations: 335.3 kB / 431.4 MB, free: 6.316 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2544, allocations: 4 kB / 431.4 MB, free: 6.312 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000559/0.255, allocations: 384.3 kB / 431.7 MB, free: 5.906 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.893e-05/0.2551, allocations: 126.8 kB / 431.9 MB, free: 5.758 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.2551, allocations: 0 / 431.9 MB, free: 5.758 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.2551, allocations: 112 / 431.9 MB, free: 5.758 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.11e-05/0.2551, allocations: 11.92 kB / 431.9 MB, free: 5.746 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.2551, allocations: 80 / 431.9 MB, free: 5.746 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001244/0.2552, allocations: 8 kB / 431.9 MB, free: 5.738 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.309e-05/0.2553, allocations: 63.86 kB / 431.9 MB, free: 5.676 MB / 334.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.nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.x,$PRE.nXFERGATE.inertialDelaySensitive.x,nXFERGATE.yy,nXFERGATE.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.0003469/0.2556, allocations: 362.5 kB / 432.3 MB, free: 5.289 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.61e-05/0.2557, allocations: 43.75 kB / 432.3 MB, free: 5.246 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.2558, allocations: 63.09 kB / 432.4 MB, free: 5.18 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.2558, allocations: 7.938 kB / 432.4 MB, free: 5.172 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.2558, allocations: 0 / 432.4 MB, free: 5.172 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.2558, allocations: 0 / 432.4 MB, free: 5.172 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009934/0.2568, allocations: 0.7963 MB / 433.2 MB, free: 4.305 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2568, allocations: 0 / 433.2 MB, free: 4.305 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.847e-06/0.2568, allocations: 0 / 433.2 MB, free: 4.305 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2568, allocations: 4 kB / 433.2 MB, free: 4.301 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.113e-05/0.2568, allocations: 15.98 kB / 433.2 MB, free: 4.285 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.2568, allocations: 3.938 kB / 433.2 MB, free: 4.281 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2568, allocations: 0 / 433.2 MB, free: 4.281 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006776/0.2575, allocations: 0.5294 MB / 433.8 MB, free: 3.711 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003846/0.2579, allocations: 213.3 kB / 434 MB, free: 3.504 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.582e-05/0.258, allocations: 16.06 kB / 434 MB, free: 3.488 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.2581, allocations: 11.94 kB / 434 MB, free: 3.477 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.2582, allocations: 31.97 kB / 434 MB, free: 3.445 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.531e-05/0.2583, allocations: 59.92 kB / 434.1 MB, free: 3.387 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004782/0.2587, allocations: 382.9 kB / 434.5 MB, free: 3.012 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2587, allocations: 0 / 434.5 MB, free: 3.012 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000286/0.259, allocations: 44 kB / 434.5 MB, free: 2.969 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: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,nXFERGATE.nextstate,nXFERGATE.yy,nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nXFERGATE.yy,nXFERGATE.nextstate,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nXFERGATE.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.001055/0.2601, allocations: 1.094 MB / 435.6 MB, free: 1.824 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005211/0.2606, allocations: 377.5 kB / 436 MB, free: 1.406 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2606, allocations: 3.938 kB / 436 MB, free: 1.402 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003023/0.2609, allocations: 305.5 kB / 436.3 MB, free: 1.055 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006157/0.2615, allocations: 119.5 kB / 436.4 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003529/0.2651, allocations: 2.741 MB / 439.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005274/0.2656, allocations: 0.8138 MB / 439.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.015e-05/0.2656, allocations: 8.656 kB / 439.9 MB, free: 13.24 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.378e-05/0.2657, allocations: 31.42 kB / 440 MB, free: 13.21 MB / 350.1 MB Notification: Performance of SimCode: time 7.32e-07/0.2657, allocations: 0 / 440 MB, free: 13.21 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02729/0.293, allocations: 6.241 MB / 446.2 MB, free: 7.043 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.02, allocations: 8.062 kB / 446.2 MB, free: 7.035 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Digital_Examples_NXFER_fmu --startTime=0 --stopTime=12 --stepSize=0.0023933 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Digital_Examples_NXFER.fmu > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.294681193016004] Failed to read output from testmodel.py, exit status != 0: ['time', 'nXFERGATE.y'] 11.171737601980567 11.186437306 10.934908701 Calling exit ...