Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001243/0.001243, allocations: 121.4 kB / 19.17 MB, free: 3.898 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.00136/0.00136, allocations: 203.9 kB / 22.12 MB, free: 0.9609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.401/1.401, allocations: 207.6 MB / 232.5 MB, free: 3.941 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_Digital_Examples_NXFER",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NXFER,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_NXFER",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002541/0.002541, allocations: 60.52 kB / 343 MB, free: 10 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09013/0.09267, allocations: 49.13 MB / 392.1 MB, free: 8.711 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.003135/0.09581, allocations: 1.509 MB / 393.6 MB, free: 7.195 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002076/0.09788, allocations: 0.9015 MB / 394.5 MB, free: 6.285 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.071e-05/0.09796, allocations: 0 / 394.5 MB, free: 6.285 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001101/0.09807, allocations: 11.86 kB / 394.5 MB, free: 6.273 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001077/0.09818, allocations: 19.86 kB / 394.6 MB, free: 6.254 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002904/0.09847, allocations: 51.88 kB / 394.6 MB, free: 6.203 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002649/0.09874, allocations: 127.8 kB / 394.7 MB, free: 6.078 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.09886, allocations: 12.5 kB / 394.7 MB, free: 6.062 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008034/0.09966, allocations: 0.5771 MB / 395.3 MB, free: 5.484 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002035/0.09986, allocations: 83.61 kB / 395.4 MB, free: 5.402 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.294e-05/0.09993, allocations: 8 kB / 395.4 MB, free: 5.395 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.094e-05/0.09997, allocations: 12 kB / 395.4 MB, free: 5.383 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.1001, allocations: 59.77 kB / 395.5 MB, free: 5.324 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001559/0.1002, allocations: 119.1 kB / 395.6 MB, free: 5.207 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004717/0.1007, allocations: 378.4 kB / 396 MB, free: 4.836 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1007, allocations: 0 / 396 MB, free: 4.836 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1007, allocations: 4 kB / 396 MB, free: 4.832 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.1007, allocations: 0 / 396 MB, free: 4.832 MB / 318.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.001017/0.1017, allocations: 0.7266 MB / 396.7 MB, free: 4.031 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.1018, allocations: 12.03 kB / 396.7 MB, free: 4.02 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.729e-05/0.1018, allocations: 192 / 396.7 MB, free: 4.02 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.799e-05/0.1019, allocations: 42.73 kB / 396.8 MB, free: 3.969 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.95e-05/0.1019, allocations: 40.7 kB / 396.8 MB, free: 3.93 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003286/0.1023, allocations: 282.6 kB / 397.1 MB, free: 3.613 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/0.1023, allocations: 8.375 kB / 397.1 MB, free: 3.605 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.875e-05/0.1023, allocations: 8.375 kB / 397.1 MB, free: 3.598 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003271/0.1026, allocations: 133.5 kB / 397.2 MB, free: 3.461 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.148e-06/0.1027, allocations: 0 / 397.2 MB, free: 3.461 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.762e-05/0.1027, allocations: 8 kB / 397.2 MB, free: 3.453 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1027, allocations: 0 / 397.2 MB, free: 3.453 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/0.1028, allocations: 67.91 kB / 397.3 MB, free: 3.387 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007159/0.1036, allocations: 468.5 kB / 397.7 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001999/0.1038, allocations: 74.55 kB / 397.8 MB, free: 2.797 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.1039, allocations: 64.83 kB / 397.9 MB, free: 2.73 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.1039, allocations: 0 / 397.9 MB, free: 2.73 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004506/0.1044, allocations: 202.7 kB / 398.1 MB, free: 2.508 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.1044, allocations: 0 / 398.1 MB, free: 2.508 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009546/0.1053, allocations: 480.1 kB / 398.6 MB, free: 2.008 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/0.1055, allocations: 170.2 kB / 398.7 MB, free: 1.805 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006923/0.1061, allocations: 0.5129 MB / 399.2 MB, free: 1.281 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.166e-05/0.1062, allocations: 29.7 kB / 399.3 MB, free: 1.246 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.394e-05/0.1063, allocations: 101.1 kB / 399.4 MB, free: 1.145 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.652e-05/0.1063, allocations: 27.95 kB / 399.4 MB, free: 1.117 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.1064, allocations: 93.45 kB / 399.5 MB, free: 1.02 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.1066, allocations: 322.8 kB / 399.8 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.1067, allocations: 55.97 kB / 399.8 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001415/0.1069, allocations: 81.62 kB / 399.9 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003887/0.1073, allocations: 347.2 kB / 400.3 MB, free: 164 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1073, allocations: 0 / 400.3 MB, free: 164 kB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005931/0.1079, allocations: 384.5 kB / 400.6 MB, free: 15.75 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.396e-05/0.108, allocations: 122.8 kB / 400.8 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.108, allocations: 3.938 kB / 400.8 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.108, allocations: 4 kB / 400.8 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.159e-05/0.108, allocations: 12 kB / 400.8 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.108, allocations: 0 / 400.8 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000143/0.1082, allocations: 8 kB / 400.8 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.427e-05/0.1082, allocations: 67.86 kB / 400.9 MB, free: 15.52 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.0003649/0.1086, allocations: 362.8 kB / 401.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.769e-05/0.1087, allocations: 39.77 kB / 401.2 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.835e-05/0.1088, allocations: 63.14 kB / 401.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.1088, allocations: 3.938 kB / 401.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1088, allocations: 0 / 401.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1088, allocations: 4 kB / 401.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.1098, allocations: 0.8215 MB / 402.1 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1098, allocations: 192 / 402.1 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.514e-06/0.1098, allocations: 4 kB / 402.1 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.1098, allocations: 4 kB / 402.1 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.771e-05/0.1099, allocations: 11.98 kB / 402.2 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.1099, allocations: 3.938 kB / 402.2 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.1099, allocations: 4 kB / 402.2 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007025/0.1106, allocations: 0.5411 MB / 402.7 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003108/0.1109, allocations: 248.6 kB / 402.9 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.822e-05/0.111, allocations: 12 kB / 403 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.1111, allocations: 15.92 kB / 403 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.913e-05/0.1112, allocations: 23.92 kB / 403 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.468e-05/0.1113, allocations: 67.86 kB / 403.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004695/0.1117, allocations: 382.9 kB / 403.4 MB, free: 12.75 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1117, allocations: 0 / 403.4 MB, free: 12.75 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002911/0.112, allocations: 51.95 kB / 403.5 MB, free: 12.7 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.001027/0.113, allocations: 1.082 MB / 404.6 MB, free: 11.57 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000508/0.1136, allocations: 377.5 kB / 404.9 MB, free: 11.15 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1136, allocations: 0 / 404.9 MB, free: 11.15 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000295/0.1138, allocations: 301.6 kB / 405.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006053/0.1145, allocations: 129.2 kB / 405.4 MB, free: 10.68 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003541/0.118, allocations: 2.764 MB / 408.1 MB, free: 7.809 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005072/0.1185, allocations: 0.806 MB / 408.9 MB, free: 6.977 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.43e-05/0.1186, allocations: 12.64 kB / 408.9 MB, free: 6.965 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.824e-05/0.1186, allocations: 23.44 kB / 409 MB, free: 6.941 MB / 334.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1186, allocations: 4 kB / 409 MB, free: 6.938 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02464/0.1432, allocations: 6.091 MB / 415.1 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.067/8.21, allocations: 11.97 kB / 415.1 MB, free: 0.6875 MB / 334.1 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Digital_Examples_NXFER_fmu --startTime=0 --stopTime=12 --stepSize=0.0023933 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Digital_Examples_NXFER.fmu > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.47785865404876] Failed to read output from testmodel.py, exit status != 0: ['time', 'nXFERGATE.y'] 8.33354355202755 8.346834315 8.243107563 Calling exit ...