Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.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.001874/0.001874, allocations: 116.2 kB / 18.49 MB, free: 4.559 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.001377/0.001377, allocations: 218.9 kB / 21.46 MB, free: 1.605 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.474/1.474, allocations: 230.6 MB / 254.8 MB, free: 15.07 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.NRXFER,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 43.94 kB / 373.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1293, allocations: 53.32 MB / 427 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002927/0.1322, allocations: 1.534 MB / 428.5 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001974/0.1342, allocations: 0.8809 MB / 429.4 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.39e-05/0.1342, allocations: 4 kB / 429.4 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.914e-05/0.1343, allocations: 11.92 kB / 429.4 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.95e-05/0.1344, allocations: 27.78 kB / 429.5 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002523/0.1347, allocations: 43.91 kB / 429.5 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002074/0.1349, allocations: 123.8 kB / 429.6 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.135, allocations: 20.2 kB / 429.6 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006663/0.1356, allocations: 0.5809 MB / 430.2 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.1358, allocations: 75.75 kB / 430.3 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.772e-05/0.1358, allocations: 8 kB / 430.3 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.918e-05/0.1358, allocations: 8 kB / 430.3 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.136, allocations: 71.7 kB / 430.4 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.1361, allocations: 115.2 kB / 430.5 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004028/0.1365, allocations: 370.4 kB / 430.9 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1365, allocations: 4 kB / 430.9 MB, free: 0.918 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1365, allocations: 0 / 430.9 MB, free: 0.918 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.1365, allocations: 3.984 kB / 430.9 MB, free: 0.9141 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.000866/0.1374, allocations: 0.7227 MB / 431.6 MB, free: 120 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.1374, allocations: 12.03 kB / 431.6 MB, free: 108 kB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.988e-05/0.1374, allocations: 4.125 kB / 431.6 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.691e-05/0.1375, allocations: 46.73 kB / 431.7 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.843e-05/0.1376, allocations: 40.7 kB / 431.7 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2147/0.3523, allocations: 268 kB / 432 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.512e-05/0.3523, allocations: 7.656 kB / 432 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.163e-05/0.3523, allocations: 12.06 kB / 432 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003573/0.3527, allocations: 126.9 kB / 432.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.3527, allocations: 0 / 432.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.522e-05/0.3527, allocations: 3.953 kB / 432.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.3527, allocations: 1.281 kB / 432.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001573/0.3529, allocations: 63.72 kB / 432.2 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006638/0.3535, allocations: 465.1 kB / 432.6 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/0.3537, allocations: 78.06 kB / 432.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/0.3539, allocations: 64.52 kB / 432.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.3539, allocations: 3.938 kB / 432.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000391/0.3543, allocations: 211 kB / 433 MB, free: 11.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.3543, allocations: 0 / 433 MB, free: 11.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008052/0.3551, allocations: 479.1 kB / 433.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.533e-05/0.3551, allocations: 173.3 kB / 433.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00056/0.3557, allocations: 0.5155 MB / 434.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.3557, allocations: 29.45 kB / 434.2 MB, free: 10.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.597e-05/0.3558, allocations: 99.92 kB / 434.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.561e-05/0.3558, allocations: 28.67 kB / 434.3 MB, free: 10.4 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.3559, allocations: 81.67 kB / 434.4 MB, free: 10.37 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.436e-05/0.356, allocations: 325.5 kB / 434.7 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.3561, allocations: 58.36 kB / 434.7 MB, free: 10.06 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.3562, allocations: 77.95 kB / 434.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002538/0.3565, allocations: 350.5 kB / 435.2 MB, free: 9.754 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.3565, allocations: 1.375 kB / 435.2 MB, free: 9.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004865/0.357, allocations: 396.5 kB / 435.5 MB, free: 9.527 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.783e-05/0.357, allocations: 128.1 kB / 435.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.357, allocations: 1.156 kB / 435.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.3571, allocations: 4.406 kB / 435.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.328e-05/0.3571, allocations: 1.031 kB / 435.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.3571, allocations: 1.062 kB / 435.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/0.3572, allocations: 9.875 kB / 435.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.896e-05/0.3573, allocations: 54.28 kB / 435.7 MB, free: 9.395 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.0002838/0.3576, allocations: 366.2 kB / 436.1 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.377e-05/0.3576, allocations: 47.33 kB / 436.1 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.691e-05/0.3577, allocations: 66.73 kB / 436.2 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.3577, allocations: 0 / 436.2 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3577, allocations: 1.062 kB / 436.2 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3577, allocations: 3.844 kB / 436.2 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008873/0.3586, allocations: 0.8263 MB / 437 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.3586, allocations: 1.094 kB / 437 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.829e-06/0.3586, allocations: 0 / 437 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.3586, allocations: 1.188 kB / 437 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.03e-05/0.3587, allocations: 13 kB / 437 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.3587, allocations: 1.156 kB / 437.1 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.005e-05/0.3587, allocations: 2.344 kB / 437.1 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005702/0.3592, allocations: 0.5425 MB / 437.6 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002469/0.3595, allocations: 243.1 kB / 437.8 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.045e-05/0.3595, allocations: 12.41 kB / 437.8 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.3597, allocations: 14.83 kB / 437.9 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.3598, allocations: 26.91 kB / 437.9 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.114e-05/0.3598, allocations: 62 kB / 437.9 MB, free: 7.902 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004026/0.3602, allocations: 386.5 kB / 438.3 MB, free: 7.695 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3602, allocations: 0 / 438.3 MB, free: 7.695 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002848/0.3605, allocations: 42.28 kB / 438.4 MB, free: 7.695 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.0008295/0.3613, allocations: 1.096 MB / 439.5 MB, free: 6.816 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004175/0.3618, allocations: 373.7 kB / 439.8 MB, free: 6.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3618, allocations: 3.469 kB / 439.8 MB, free: 6.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002299/0.362, allocations: 305.7 kB / 440.1 MB, free: 6.242 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006172/0.3626, allocations: 119.7 kB / 440.2 MB, free: 6.219 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002942/0.3656, allocations: 2.767 MB / 443 MB, free: 4.305 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.3658, allocations: 0.7989 MB / 443.8 MB, free: 3.578 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.355e-05/0.3659, allocations: 8.75 kB / 443.8 MB, free: 3.574 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.361e-05/0.3659, allocations: 30.73 kB / 443.8 MB, free: 3.551 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3659, allocations: 0 / 443.8 MB, free: 3.551 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02546/0.3914, allocations: 6.08 MB / 449.9 MB, free: 2.688 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.16/8.551, allocations: 9.781 kB / 449.9 MB, free: 2.684 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Digital_Examples_NRXFER_fmu --startTime=0 --stopTime=12 --stepSize=0.0023933 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Digital_Examples_NRXFER.fmu > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.98799901199527] Failed to read output from testmodel.py, exit status != 0: ['time', 'nRXFERGATE.y'] 8.67294406000292 8.686229804 8.547010733 Calling exit ...