Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.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.001319/0.001319, 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.001335/0.001335, 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.379/1.379, allocations: 225.7 MB / 253.3 MB, free: 13.03 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.NRXFER,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 47.94 kB / 371.2 MB, free: 9.949 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2428, allocations: 52.19 MB / 423.4 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002621/0.2454, allocations: 1.525 MB / 424.9 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001794/0.2472, allocations: 0.8538 MB / 425.8 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.413e-05/0.2472, allocations: 0 / 425.8 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.275e-05/0.2473, allocations: 11.86 kB / 425.8 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.594e-05/0.2474, allocations: 15.86 kB / 425.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002503/0.2476, allocations: 59.88 kB / 425.9 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001961/0.2478, allocations: 131.7 kB / 426 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.524e-05/0.2479, allocations: 16.17 kB / 426 MB, free: 12 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006674/0.2486, allocations: 0.5771 MB / 426.6 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001586/0.2487, allocations: 83.67 kB / 426.7 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.541e-05/0.2488, allocations: 8 kB / 426.7 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.005e-05/0.2488, allocations: 12 kB / 426.7 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.322e-05/0.2489, allocations: 59.77 kB / 426.8 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001303/0.249, allocations: 115.1 kB / 426.9 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003933/0.2494, allocations: 379.2 kB / 427.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.2494, allocations: 0 / 427.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2494, allocations: 4 kB / 427.2 MB, free: 10.78 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.2494, allocations: 0 / 427.2 MB, free: 10.78 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.0007608/0.2502, allocations: 0.6513 MB / 427.9 MB, free: 10.07 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.2502, allocations: 12.03 kB / 427.9 MB, free: 10.06 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.367e-05/0.2502, allocations: 192 / 427.9 MB, free: 10.06 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.252e-05/0.2503, allocations: 38.75 kB / 427.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.766e-05/0.2503, allocations: 40.7 kB / 428 MB, free: 9.977 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/0.2506, allocations: 220.8 kB / 428.2 MB, free: 9.734 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.2506, allocations: 8.375 kB / 428.2 MB, free: 9.727 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.604e-05/0.2507, allocations: 8.375 kB / 428.2 MB, free: 9.719 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003079/0.251, allocations: 125.5 kB / 428.3 MB, free: 9.59 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.251, allocations: 3.984 kB / 428.3 MB, free: 9.586 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/0.251, allocations: 4 kB / 428.3 MB, free: 9.582 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.251, allocations: 0 / 428.3 MB, free: 9.582 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001422/0.2512, allocations: 63.91 kB / 428.4 MB, free: 9.52 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006605/0.2518, allocations: 431.5 kB / 428.8 MB, free: 9.055 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.252, allocations: 78.55 kB / 428.9 MB, free: 8.969 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.2521, allocations: 64.88 kB / 429 MB, free: 8.902 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.306e-06/0.2521, allocations: 0 / 429 MB, free: 8.902 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003847/0.2525, allocations: 206.6 kB / 429.2 MB, free: 8.676 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.342e-06/0.2525, allocations: 0 / 429.2 MB, free: 8.676 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008113/0.2533, allocations: 476.2 kB / 429.6 MB, free: 8.18 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.2535, allocations: 170.2 kB / 429.8 MB, free: 7.977 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006558/0.2541, allocations: 0.5168 MB / 430.3 MB, free: 7.449 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.398e-05/0.2541, allocations: 33.69 kB / 430.4 MB, free: 7.41 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.831e-05/0.2542, allocations: 101.1 kB / 430.5 MB, free: 7.309 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.165e-05/0.2543, allocations: 27.8 kB / 430.5 MB, free: 7.281 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.2544, allocations: 81.56 kB / 430.6 MB, free: 7.195 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.2545, allocations: 322.8 kB / 430.9 MB, free: 6.871 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.2547, allocations: 59.95 kB / 430.9 MB, free: 6.812 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.2548, allocations: 85.66 kB / 431 MB, free: 6.723 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003625/0.2552, allocations: 339.2 kB / 431.4 MB, free: 6.336 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2552, allocations: 4 kB / 431.4 MB, free: 6.332 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005673/0.2557, allocations: 387.4 kB / 431.7 MB, free: 5.926 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001292/0.2559, allocations: 126.1 kB / 431.9 MB, free: 5.781 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.2559, allocations: 0 / 431.9 MB, free: 5.781 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.2559, allocations: 4 kB / 431.9 MB, free: 5.777 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.195e-05/0.2559, allocations: 11.95 kB / 431.9 MB, free: 5.766 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.2559, allocations: 0 / 431.9 MB, free: 5.766 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.256, allocations: 8 kB / 431.9 MB, free: 5.758 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.128e-05/0.2561, allocations: 64 kB / 431.9 MB, free: 5.695 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.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.000386/0.2565, allocations: 362.6 kB / 432.3 MB, free: 5.309 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.673e-05/0.2565, allocations: 43.75 kB / 432.3 MB, free: 5.266 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001065/0.2567, allocations: 59.09 kB / 432.4 MB, free: 5.203 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.2567, allocations: 0 / 432.4 MB, free: 5.203 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2567, allocations: 4 kB / 432.4 MB, free: 5.199 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.2567, allocations: 112 / 432.4 MB, free: 5.199 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.2577, allocations: 0.8007 MB / 433.2 MB, free: 4.324 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2577, allocations: 0 / 433.2 MB, free: 4.324 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.459e-06/0.2577, allocations: 0 / 433.2 MB, free: 4.324 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.2577, allocations: 0 / 433.2 MB, free: 4.324 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.414e-05/0.2577, allocations: 19.98 kB / 433.2 MB, free: 4.305 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.2577, allocations: 3.938 kB / 433.2 MB, free: 4.301 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2577, allocations: 0 / 433.2 MB, free: 4.301 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007088/0.2584, allocations: 0.5332 MB / 433.8 MB, free: 3.727 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003815/0.2588, allocations: 213.3 kB / 434 MB, free: 3.52 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.894e-05/0.2589, allocations: 12 kB / 434 MB, free: 3.508 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.259, allocations: 7.938 kB / 434 MB, free: 3.5 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.2591, allocations: 31.95 kB / 434 MB, free: 3.469 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-05/0.2592, allocations: 59.92 kB / 434.1 MB, free: 3.41 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004963/0.2597, allocations: 390.8 kB / 434.5 MB, free: 3.027 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2597, allocations: 0 / 434.5 MB, free: 3.027 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002862/0.26, allocations: 44 kB / 434.5 MB, free: 2.984 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,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.001128/0.2611, allocations: 1.096 MB / 435.6 MB, free: 1.836 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005154/0.2616, allocations: 373.5 kB / 436 MB, free: 1.422 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.2616, allocations: 0 / 436 MB, free: 1.422 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003063/0.2619, allocations: 301.6 kB / 436.3 MB, free: 1.078 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006253/0.2625, allocations: 127.8 kB / 436.4 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003707/0.2663, allocations: 2.748 MB / 439.1 MB, free: 14.11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005501/0.2668, allocations: 0.8098 MB / 439.9 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.137e-05/0.2669, allocations: 12.64 kB / 440 MB, free: 13.26 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.438e-05/0.2669, allocations: 27.42 kB / 440 MB, free: 13.23 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.2669, allocations: 4 kB / 440 MB, free: 13.23 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02823/0.2952, allocations: 6.223 MB / 446.2 MB, free: 7.074 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.1, allocations: 7.812 kB / 446.2 MB, free: 7.07 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Digital_Examples_NRXFER_fmu --startTime=0 --stopTime=12 --stepSize=0.0023933 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Digital_Examples_NRXFER.fmu > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.38993850798579] Failed to read output from testmodel.py, exit status != 0: ['time', 'nRXFERGATE.y'] 11.257376022986136 11.274294422 11.021882971 Calling exit ...