Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.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.001307/0.001307, allocations: 113 kB / 18.49 MB, free: 4.539 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.001376/0.001376, allocations: 217.4 kB / 21.46 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.46/1.46, allocations: 230.6 MB / 254.8 MB, free: 15.09 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+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.NXFER,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Digital_Examples_NXFER",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NXFER,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Digital_Examples_NXFER",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 43.94 kB / 373.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1199, allocations: 53.33 MB / 427 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.003516/0.1234, allocations: 1.523 MB / 428.5 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002126/0.1255, allocations: 0.8809 MB / 429.4 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.381e-05/0.1256, allocations: 0 / 429.4 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001028/0.1257, allocations: 15.86 kB / 429.4 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.078e-05/0.1258, allocations: 19.86 kB / 429.5 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002852/0.1261, allocations: 47.89 kB / 429.5 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002267/0.1263, allocations: 127.7 kB / 429.6 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.1264, allocations: 12.22 kB / 429.6 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006805/0.1271, allocations: 0.5848 MB / 430.2 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.1272, allocations: 71.75 kB / 430.3 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.164e-05/0.1273, allocations: 19.94 kB / 430.3 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.74e-05/0.1273, allocations: 8 kB / 430.3 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.1274, allocations: 67.7 kB / 430.4 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.1275, allocations: 115.2 kB / 430.5 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004235/0.1279, allocations: 370.4 kB / 430.9 MB, free: 0.918 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1279, allocations: 0 / 430.9 MB, free: 0.918 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1279, allocations: 0 / 430.9 MB, free: 0.918 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.128, allocations: 0 / 430.9 MB, free: 0.918 MB / 350.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.0008473/0.1288, allocations: 0.7305 MB / 431.6 MB, free: 116 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.1288, allocations: 12.03 kB / 431.6 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.659e-05/0.1289, allocations: 8.188 kB / 431.6 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.592e-05/0.1289, allocations: 42.73 kB / 431.7 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.513e-05/0.129, allocations: 36.7 kB / 431.7 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2195/0.3485, allocations: 271.4 kB / 432 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/0.3485, allocations: 6.906 kB / 432 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.92e-05/0.3486, allocations: 14.7 kB / 432 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003527/0.3489, allocations: 127.7 kB / 432.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.3489, allocations: 0 / 432.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.69e-05/0.349, allocations: 4.141 kB / 432.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.349, allocations: 1.875 kB / 432.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001587/0.3491, allocations: 64.23 kB / 432.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006875/0.3498, allocations: 466.9 kB / 432.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.35, allocations: 74.08 kB / 432.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/0.3501, allocations: 64.19 kB / 432.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.3501, allocations: 5.844 kB / 432.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003825/0.3505, allocations: 209 kB / 433 MB, free: 10.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.883e-06/0.3505, allocations: 0.6562 kB / 433 MB, free: 10.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008385/0.3514, allocations: 479 kB / 433.4 MB, free: 10.44 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.398e-05/0.3514, allocations: 169.7 kB / 433.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005353/0.352, allocations: 0.5132 MB / 434.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.352, allocations: 34.52 kB / 434.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.615e-05/0.352, allocations: 99.72 kB / 434.2 MB, free: 9.934 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.363e-05/0.3521, allocations: 31.09 kB / 434.3 MB, free: 9.918 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.3522, allocations: 83.86 kB / 434.4 MB, free: 9.891 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.05e-05/0.3523, allocations: 322.7 kB / 434.7 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/0.3524, allocations: 55.8 kB / 434.7 MB, free: 9.578 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.3525, allocations: 83.78 kB / 434.8 MB, free: 9.559 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002826/0.3528, allocations: 344 kB / 435.1 MB, free: 9.293 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3528, allocations: 2.156 kB / 435.2 MB, free: 9.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005126/0.3533, allocations: 400 kB / 435.5 MB, free: 9.121 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.829e-05/0.3534, allocations: 127.2 kB / 435.7 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.3534, allocations: 4.781 kB / 435.7 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.3534, allocations: 3.031 kB / 435.7 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.33e-05/0.3534, allocations: 1.094 kB / 435.7 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.3534, allocations: 0 / 435.7 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001338/0.3536, allocations: 13.67 kB / 435.7 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.769e-05/0.3536, allocations: 53.94 kB / 435.7 MB, free: 8.996 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.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.000283/0.3539, allocations: 363.6 kB / 436.1 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.954e-05/0.354, allocations: 43.42 kB / 436.1 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.969e-05/0.3541, allocations: 67.34 kB / 436.2 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.3541, allocations: 0 / 436.2 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.3541, allocations: 1.125 kB / 436.2 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3541, allocations: 1.719 kB / 436.2 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008274/0.3549, allocations: 0.8244 MB / 437 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3549, allocations: 0 / 437 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.679e-06/0.3549, allocations: 3.406 kB / 437 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.3549, allocations: 2.875 kB / 437 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.872e-05/0.3549, allocations: 11.69 kB / 437 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3549, allocations: 1.406 kB / 437 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.3549, allocations: 2.438 kB / 437.1 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000568/0.3555, allocations: 0.5424 MB / 437.6 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000241/0.3558, allocations: 252.7 kB / 437.8 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.918e-05/0.3558, allocations: 7.906 kB / 437.8 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.3559, allocations: 11.91 kB / 437.9 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.643e-05/0.356, allocations: 21.73 kB / 437.9 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.451e-05/0.3561, allocations: 62.62 kB / 437.9 MB, free: 7.703 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000409/0.3565, allocations: 387 kB / 438.3 MB, free: 7.496 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3565, allocations: 0 / 438.3 MB, free: 7.496 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002823/0.3568, allocations: 41.84 kB / 438.4 MB, free: 7.496 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,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.0008302/0.3576, allocations: 1.102 MB / 439.5 MB, free: 6.613 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004729/0.3581, allocations: 371.6 kB / 439.8 MB, free: 6.316 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.3581, allocations: 0 / 439.8 MB, free: 6.316 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002452/0.3583, allocations: 312.1 kB / 440.1 MB, free: 6.039 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006106/0.3589, allocations: 116.6 kB / 440.2 MB, free: 6.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003134/0.3621, allocations: 2.777 MB / 443 MB, free: 4.098 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/0.3624, allocations: 0.7996 MB / 443.8 MB, free: 3.367 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.842e-05/0.3625, allocations: 9.469 kB / 443.8 MB, free: 3.363 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.957e-05/0.3625, allocations: 26.27 kB / 443.9 MB, free: 3.344 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3625, allocations: 4.688 kB / 443.9 MB, free: 3.344 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02554/0.3881, allocations: 6.072 MB / 449.9 MB, free: 2.492 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.237/8.625, allocations: 6.719 kB / 449.9 MB, free: 2.488 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Digital_Examples_NXFER_fmu --startTime=0 --stopTime=12 --stepSize=0.0023933 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Digital_Examples_NXFER.fmu > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.010813005967066] Failed to read output from testmodel.py, exit status != 0: ['time', 'nXFERGATE.y'] 8.750495414016768 8.769036721 8.637319475 Calling exit ...