Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER.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.001258/0.001258, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.00146/0.00146, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.474/1.474, allocations: 230.6 MB / 258.3 MB, free: 8.047 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.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Digital_Examples_NRXFER",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.00198/0.00198, allocations: 64.77 kB / 378.5 MB, free: 3.262 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3156, allocations: 53.37 MB / 431.9 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.003368/0.319, allocations: 1.536 MB / 433.4 MB, free: 5.363 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002148/0.3212, allocations: 0.9004 MB / 434.3 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.327e-05/0.3212, allocations: 0 / 434.3 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001154/0.3213, allocations: 3.938 kB / 434.3 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.591e-05/0.3214, allocations: 23.8 kB / 434.4 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002729/0.3217, allocations: 55.88 kB / 434.4 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002165/0.3219, allocations: 127.8 kB / 434.5 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.322, allocations: 20.2 kB / 434.6 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007598/0.3228, allocations: 0.577 MB / 435.1 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001581/0.3229, allocations: 75.75 kB / 435.2 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.821e-05/0.323, allocations: 8 kB / 435.2 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.994e-05/0.323, allocations: 15.94 kB / 435.2 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.3231, allocations: 67.64 kB / 435.3 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.3232, allocations: 111.2 kB / 435.4 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004102/0.3236, allocations: 375.2 kB / 435.8 MB, free: 3.012 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3236, allocations: 0 / 435.8 MB, free: 3.012 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3236, allocations: 0 / 435.8 MB, free: 3.012 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.3237, allocations: 4 kB / 435.8 MB, free: 3.008 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.0008691/0.3245, allocations: 0.6614 MB / 436.4 MB, free: 2.293 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.3246, allocations: 8.031 kB / 436.5 MB, free: 2.285 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.206e-05/0.3246, allocations: 42.73 kB / 436.5 MB, free: 2.234 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.395e-05/0.3247, allocations: 40.7 kB / 436.5 MB, free: 2.195 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003137/0.325, allocations: 216.8 kB / 436.8 MB, free: 1.957 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.325, allocations: 4.375 kB / 436.8 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.665e-05/0.3251, allocations: 8.375 kB / 436.8 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003459/0.3254, allocations: 133.7 kB / 436.9 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.3254, allocations: 4 kB / 436.9 MB, free: 1.805 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.3254, allocations: 4 kB / 436.9 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.3255, allocations: 0 / 436.9 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001449/0.3256, allocations: 59.97 kB / 437 MB, free: 1.742 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007326/0.3263, allocations: 435.5 kB / 437.4 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.3265, allocations: 74.55 kB / 437.5 MB, free: 1.191 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001438/0.3267, allocations: 64.89 kB / 437.5 MB, free: 1.125 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.3267, allocations: 0 / 437.5 MB, free: 1.125 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004981/0.3272, allocations: 210.8 kB / 437.7 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.202e-06/0.3272, allocations: 0 / 437.7 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009671/0.3281, allocations: 476.1 kB / 438.2 MB, free: 408 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000138/0.3283, allocations: 170.2 kB / 438.4 MB, free: 200 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000708/0.329, allocations: 0.513 MB / 438.9 MB, free: 15.67 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.249e-05/0.329, allocations: 33.7 kB / 438.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.564e-05/0.3291, allocations: 105.1 kB / 439 MB, free: 15.53 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.363e-05/0.3292, allocations: 23.84 kB / 439 MB, free: 15.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.3293, allocations: 85.55 kB / 439.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002044/0.3295, allocations: 326.7 kB / 439.4 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.3296, allocations: 55.97 kB / 439.5 MB, free: 15.03 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.3298, allocations: 73.69 kB / 439.6 MB, free: 14.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000411/0.3302, allocations: 346 kB / 439.9 MB, free: 14.56 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3302, allocations: 0 / 439.9 MB, free: 14.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006019/0.3308, allocations: 388.4 kB / 440.3 MB, free: 14.15 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001113/0.3309, allocations: 130.7 kB / 440.4 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3309, allocations: 0 / 440.4 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.3309, allocations: 0 / 440.4 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.51e-05/0.331, allocations: 4 kB / 440.4 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.331, allocations: 8 kB / 440.4 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.3311, allocations: 20.02 kB / 440.4 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/0.3312, allocations: 55.94 kB / 440.5 MB, free: 13.91 MB / 350.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.nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.x,$PRE.nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.yy,nRXFERGATE.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.0004096/0.3316, allocations: 362.4 kB / 440.8 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.796e-05/0.3317, allocations: 35.77 kB / 440.9 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001168/0.3318, allocations: 67.03 kB / 440.9 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.3318, allocations: 3.984 kB / 440.9 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3318, allocations: 0 / 440.9 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.3318, allocations: 3.984 kB / 441 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/0.3329, allocations: 0.793 MB / 441.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3329, allocations: 0 / 441.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.948e-06/0.3329, allocations: 0 / 441.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3329, allocations: 0 / 441.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.936e-05/0.333, allocations: 16 kB / 441.8 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.333, allocations: 0 / 441.8 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.333, allocations: 3.938 kB / 441.8 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006778/0.3337, allocations: 0.5369 MB / 442.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003879/0.334, allocations: 217.3 kB / 442.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.488e-05/0.3341, allocations: 16.06 kB / 442.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.3342, allocations: 11.98 kB / 442.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.3343, allocations: 31.91 kB / 442.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.195e-05/0.3344, allocations: 52 kB / 442.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004898/0.3349, allocations: 390.9 kB / 443 MB, free: 11.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3349, allocations: 0 / 443 MB, free: 11.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002823/0.3352, allocations: 40 kB / 443 MB, free: 11.21 MB / 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: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,nRXFERGATE.nextstate,nRXFERGATE.yy,nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nRXFERGATE.yy,nRXFERGATE.nextstate,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nRXFERGATE.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.001135/0.3363, allocations: 1.092 MB / 444.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005693/0.3369, allocations: 377.5 kB / 444.5 MB, free: 9.656 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3369, allocations: 0 / 444.5 MB, free: 9.656 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003156/0.3372, allocations: 301.5 kB / 444.8 MB, free: 9.312 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005818/0.3378, allocations: 121.3 kB / 444.9 MB, free: 9.203 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003821/0.3416, allocations: 2.748 MB / 447.7 MB, free: 6.344 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006128/0.3422, allocations: 0.8022 MB / 448.5 MB, free: 5.516 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.046e-05/0.3423, allocations: 8.656 kB / 448.5 MB, free: 5.508 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.226e-05/0.3423, allocations: 23.44 kB / 448.5 MB, free: 5.484 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3423, allocations: 0 / 448.5 MB, free: 5.484 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03383/0.3761, allocations: 6.126 MB / 454.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.294/8.67, allocations: 4.062 kB / 454.6 MB, free: 15.38 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER_res.csv --start-time 0 --stop-time 12 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0023933 Modelica_4_1_0-beta_om_Modelica_Electrical_Digital_Examples_NRXFER.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.14757103798911] Failed to read output from testmodel.py, exit status != 0: ['time', 'nRXFERGATE.y'] 8.743796722963452 8.772891178 8.443709184 Calling exit ...